From: Peter Palfrader Date: Fri, 11 Mar 2016 07:08:40 +0000 (+0100) Subject: Do not run both puppet clientbucket cleanup job concurrently. sequentially should... X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=a887b927f2ffc163dbdce5ed6e8143f9c0656b3f;p=mirror%2Fdsa-puppet.git Do not run both puppet clientbucket cleanup job concurrently. sequentially should work better --- diff --git a/modules/debian-org/templates/dsa-puppet-stuff.cron.erb b/modules/debian-org/templates/dsa-puppet-stuff.cron.erb index 7908ee68f..3aa7328f1 100644 --- a/modules/debian-org/templates/dsa-puppet-stuff.cron.erb +++ b/modules/debian-org/templates/dsa-puppet-stuff.cron.erb @@ -15,5 +15,4 @@ SHELL=/bin/bash @daily munin-async [ -d /var/lib/munin-async ] && find /var/lib/munin-async -maxdepth 1 -type f -mtime +30 -delete -@daily root [ -d /var/lib/puppet/clientbucket ] && find /var/lib/puppet/clientbucket -type f -mtime +60 -delete -@daily root [ -d /var/lib/puppet/clientbucket ] && find /var/lib/puppet/clientbucket -type d -empty -delete +@daily root [ -d /var/lib/puppet/clientbucket ] && find /var/lib/puppet/clientbucket -type f -mtime +60 -delete && find /var/lib/puppet/clientbucket -type d -empty -delete