Run puppet agent via cron. Add in a random delay so that all the clients 
don't hit the server at the same time. I use the following script and set 
to run every 30 minutes:

#!/bin/bash

# Grab a random value between 0-1740 (29 minutes).
value=$RANDOM
while [ $value -gt 1740 ] ; do
  value=$RANDOM
done

# Sleep for that time.
sleep $value

# do puppet run
/usr/bin/puppet agent -t

On Tuesday, December 11, 2012 11:19:51 PM UTC-5, kdo wrote:
>
> anyone have any smart ideas around scheduling puppet client runs during 
> specific times ? such as outside of office hours ?
>
> any options that can be set in the puppet.conf for example ?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/g4ST8HHt5KQJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to