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