summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster/base.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-08-06 22:49:39 +0200
committermh <mh@immerda.ch>2010-08-06 22:49:39 +0200
commitecb858cb19ebb04c8318b2e0d5755e4c9fdcf76b (patch)
tree6cc0a0d09908f6cd58bc2f3606cc6fe5a8730d93 /manifests/puppetmaster/base.pp
parentf22235b5eda08f3d5503162484c9e2214bc78ecd (diff)
make the cleanup of reports configurable
We can now either disable reports cleanup or set the amount of days reports should be kept. By default we still cleanup reports after 30 days.
Diffstat (limited to 'manifests/puppetmaster/base.pp')
-rw-r--r--manifests/puppetmaster/base.pp6
1 files changed, 0 insertions, 6 deletions
diff --git a/manifests/puppetmaster/base.pp b/manifests/puppetmaster/base.pp
index a5f7e90..a2bc9d4 100644
--- a/manifests/puppetmaster/base.pp
+++ b/manifests/puppetmaster/base.pp
@@ -35,10 +35,4 @@ class puppet::puppetmaster::base inherits puppet::base {
notify => Service[puppetmaster],
}
}
-
- # clean up reports older than 30 days
- file{'/etc/cron.daily/puppet_reports_cleanup.sh':
- content => "#!/bin/bash\nfind /var/log/puppet/reports/ -maxdepth 2 -type f -ctime +30 -exec rm {} \\;\n",
- owner => root, group => 0, mode => 0700;
- }
}