diff options
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/puppetmaster.pp | 2 | ||||
-rw-r--r-- | manifests/puppetmaster/cleanup_reports/disable.pp | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/manifests/puppetmaster.pp b/manifests/puppetmaster.pp index 71cab3a..09c09af 100644 --- a/manifests/puppetmaster.pp +++ b/manifests/puppetmaster.pp @@ -35,6 +35,8 @@ class puppet::puppetmaster inherits puppet { if $puppetmaster_cleanup_reports { include puppet::puppetmaster::cleanup_reports + } else { + include puppet::puppetmaster::cleanup_reports::disable } if $use_shorewall { diff --git a/manifests/puppetmaster/cleanup_reports/disable.pp b/manifests/puppetmaster/cleanup_reports/disable.pp new file mode 100644 index 0000000..f195a3e --- /dev/null +++ b/manifests/puppetmaster/cleanup_reports/disable.pp @@ -0,0 +1,5 @@ +class puppet::puppetmaster::cleanup_reports::disable inherits puppet::puppetmaster::cleanup_reports { + File['/etc/cron.daily/puppet_reports_cleanup.sh']{ + ensure => absent, + } +} |