projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
930c30d
)
sleep $(( $RANDOM % 3600 ))
author
Stephen Gran
<steve@lobefin.net>
Tue, 21 Jul 2009 08:49:27 +0000
(09:49 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Tue, 21 Jul 2009 08:49:27 +0000
(09:49 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
files/etc/cron.d/dsa-puppet-stuff
patch
|
blob
|
history
diff --git
a/files/etc/cron.d/dsa-puppet-stuff
b/files/etc/cron.d/dsa-puppet-stuff
index
4ddc565
..
be16af1
100644
(file)
--- a/
files/etc/cron.d/dsa-puppet-stuff
+++ b/
files/etc/cron.d/dsa-puppet-stuff
@@
-1,2
+1,3
@@
+SHELL=/bin/bash
@hourly root [ ! -d /var/cache/dsa ] || touch /var/cache/dsa/cron.alive
-34 */4 * * * root [ ! -x /usr/sbin/puppet ] ||
/usr/sbin/puppet -w 5 --factsync -t
+34 */4 * * * root [ ! -x /usr/sbin/puppet ] ||
( sleep $(( $RANDOM % 3600 )) && /usr/sbin/puppet -w 5 --factsync -t )