summaryrefslogtreecommitdiff
path: root/manifests/puppetmaster/cleanup_reports.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/puppetmaster/cleanup_reports.pp')
-rw-r--r--manifests/puppetmaster/cleanup_reports.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/puppetmaster/cleanup_reports.pp b/manifests/puppetmaster/cleanup_reports.pp
index d9bd2ca..d25e8ac 100644
--- a/manifests/puppetmaster/cleanup_reports.pp
+++ b/manifests/puppetmaster/cleanup_reports.pp
@@ -6,7 +6,7 @@ class puppet::puppetmaster::cleanup_reports(
if $cleanup_older_than != 'absent' {
File['/etc/cron.daily/puppet_reports_cleanup.sh']{
- content => "#!/bin/bash\nfind ${puppet::puppetmaster::cleanup_reports::reports_dir} -maxdepth 2 -type f -ctime +${puppet::puppetmaster::cleanup_reports::cleanup_older_than} -exec rm {} \\;\n",
+ content => "#!/bin/bash\nfind ${puppet::puppetmaster::cleanup_reports::reports_dir} -maxdepth 2 -type f -ctime +${puppet::puppetmaster::cleanup_reports::cleanup_olderthan} -exec rm {} \\;\n",
owner => root, group => 0, mode => 0700,
}
} else {