From a887b927f2ffc163dbdce5ed6e8143f9c0656b3f Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 11 Mar 2016 08:08:40 +0100 Subject: [PATCH] Do not run both puppet clientbucket cleanup job concurrently. sequentially should work better --- modules/debian-org/templates/dsa-puppet-stuff.cron.erb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 -- 2.20.1