diff options
author | mh <mh@immerda.ch> | 2011-07-07 01:04:20 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-07-07 01:04:20 +0200 |
commit | 0fd0df89f4a0bd0700b3260a4c40041c59f65660 (patch) | |
tree | c451610e00394d3cbdb9f0e89d8fb43b05923742 | |
parent | 0f4718f062f7419092f69dcdd951339a466a79b8 (diff) |
fix variable naming
-rw-r--r-- | manifests/puppetmaster/cleanup_reports.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/puppetmaster/cleanup_reports.pp b/manifests/puppetmaster/cleanup_reports.pp index d25e8ac..d9bd2ca 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_olderthan} -exec rm {} \\;\n", + 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", owner => root, group => 0, mode => 0700, } } else { |