From 0fd0df89f4a0bd0700b3260a4c40041c59f65660 Mon Sep 17 00:00:00 2001 From: mh Date: Thu, 7 Jul 2011 01:04:20 +0200 Subject: fix variable naming --- manifests/puppetmaster/cleanup_reports.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manifests') 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 { -- cgit v1.2.3