Skip to content

Commit c9755e1

Browse files
committed
Fix scope of disable_maintenance param
1 parent 1e4372b commit c9755e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ You can configure the retention policy by setting `pe_databases::backup::retenti
6868
The maintenance cron jobs will perform a `VACUUM FULL` on various `pe-puppetdb` tables to keep them lean and fast.
6969
A `VACUUM FULL` is a blocking operation and you will see the PuppetDB command queue grow while the cron jobs run.
7070
The blocking should be short lived and the PuppetDB command queue should work itself down after, however, if for some reason you experience issues you can disable the maintenance cron jobs.
71-
You can do so by setting `pe_databases::maintenance::disable_maintenance: true` in your hieradata.
71+
You can do so by setting `pe_databases::disable_maintenance: true` in your hieradata.
7272

7373
With PE 2018.1.7 and 2019.0.2 and newer, this module uses `pg_repack` which does not block.
7474

manifests/init.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
if $facts.dig('pe_databases', 'have_systemd') {
3131
if $manage_database_maintenance and (versioncmp('2019.0.2', $facts['pe_server_version']) <= 0) {
3232
class {'pe_databases::pg_repack':
33-
disable_maintenance => lookup('pe_databases::maintenance::disable_maintenance', {'default_value' => false}),
33+
disable_maintenance => lookup('pe_databases::disable_maintenance', {'default_value' => false}),
3434
}
3535
if $manage_table_settings {
3636
# This is to provide for situations, like PE XL,

0 commit comments

Comments
 (0)