summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-08-07 01:33:21 +0200
committermh <mh@immerda.ch>2010-08-07 01:33:21 +0200
commitd739d6f348ad16391b5c95761e98b188cfeed848 (patch)
tree18bce8b13867d3f516f3fe8c4b6c8e81c18160cb /manifests/puppetmaster
parent7df4eabf27357731cbdf6946591df92ac15e8ed2 (diff)
improve reports cleanup disable
If we disable the cleanup of reports, actually remove the cron job.
Diffstat (limited to 'manifests/puppetmaster')
-rw-r--r--manifests/puppetmaster/cleanup_reports/disable.pp5
1 files changed, 5 insertions, 0 deletions
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,
+ }
+}