Add pe_databases::maintenance to Puppetfile and profile
Default to inlcuding a cron job for running vacuumdb --analyze and reindxdx for all databases.
This commit is contained in:
parent
d5854041f8
commit
edba37efb1
@ -38,3 +38,7 @@ mod 'gms',
|
||||
mod 'pltraining-rbac',
|
||||
:git => 'https://github.com/puppetlabs/pltraining-rbac',
|
||||
:ref => '2f60e1789a721ce83f8df061e13f8bf81cd4e4ce'
|
||||
|
||||
mod 'pe_databases',
|
||||
:git => 'https://github.com/npwalker/pe_databases',
|
||||
:ref => 'ce51abffa029d910f84b44160791e7406f2da864'
|
||||
|
@ -2,6 +2,7 @@ class profile::pe_postgresql_management (
|
||||
$autovacuum_scale_factor = '.01',
|
||||
$manage_postgresql_service = true,
|
||||
$all_in_one_pe_install = true,
|
||||
Boolean $include_pe_databases_maintenance = true,
|
||||
) {
|
||||
|
||||
$postgresql_service_resource_name = 'postgresqld'
|
||||
@ -32,4 +33,9 @@ class profile::pe_postgresql_management (
|
||||
notify => $notify_postgresql_service,
|
||||
}
|
||||
|
||||
#https://github.com/npwalker/pe_databases
|
||||
if $include_pe_databases_maintenance {
|
||||
include pe_databases::maintenance
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user