projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Again, dammit
[mirror/dsa-puppet.git]
/
files
/
etc
/
cron.d
/
dsa-puppet-stuff
diff --git
a/files/etc/cron.d/dsa-puppet-stuff
b/files/etc/cron.d/dsa-puppet-stuff
index
4ddc565
..
3750093
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
@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
d ] || ( sleep $(( $RANDOM \% 3600 )) && /usr/sbin/puppetd -w 5 --factsync -t )