diff options
Diffstat (limited to 'manifests/puppetmaster.pp')
-rw-r--r-- | manifests/puppetmaster.pp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/manifests/puppetmaster.pp b/manifests/puppetmaster.pp index 55e1dab..3e8711c 100644 --- a/manifests/puppetmaster.pp +++ b/manifests/puppetmaster.pp @@ -29,8 +29,14 @@ class puppet::puppetmaster inherits puppet { include puppet::puppetmaster::cluster } - class{'puppet::puppetmaster::cleanup_reports': - cleanup_older_than => '30', + case $puppetmaster_cleanup_reports { + '': { $puppetmaster_cleanup_reports = '30' } + } + + if $puppetmaster_cleanup_reports { + include puppet::puppetmaster::cleanup_reports + } else { + include puppet::puppetmaster::cleanup_reports::disable } if $use_shorewall { |