Commit 73fbaf8d authored by Cool Fire's avatar Cool Fire

Also purge empty directories from clientbucket cache

parent 37faab5e
Pipeline #2456 passed with stages
in 4 minutes and 28 seconds
......@@ -23,7 +23,8 @@ class profile::base::puppetagent(
}
cron { 'clientbucket_cache_cleanup':
command => '/usr/bin/find /opt/puppetlabs/puppet/cache/clientbucket/ -type f -mtime +45 -atime +45 -delete',
command => "/usr/bin/find /opt/puppetlabs/puppet/cache/clientbucket/ -type f -mtime +45 -atime +45 -delete; \
/usr/bin/find /opt/puppetlabs/puppet/cache/clientbucket/ -type d -empty -delete",
user => 'root',
month => '*',
monthday => '1',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment