Merge "Retain only 5 days of puppet reports on puppetmaster"

This commit is contained in:
Jenkins 2016-01-15 00:33:38 +00:00 committed by Gerrit Code Review
commit cd87142bc9
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class openstack_project::puppetmaster (
user => 'root',
hour => '3',
minute => '0',
command => 'sleep $((RANDOM\%600)) && find /var/lib/puppet/reports -name \'*.yaml\' -mtime +7 -execdir rm {} \;',
command => 'sleep $((RANDOM\%600)) && find /var/lib/puppet/reports -name \'*.yaml\' -mtime +5 -execdir rm {} \;',
environment => 'PATH=/var/lib/gems/1.8/bin:/usr/bin:/bin:/usr/sbin:/sbin',
}