Franck <[email protected]> writes:
> So I've decided to use crontab for all my puppet clients rather than
> the daemon. I've set-up a puppetmaster with seven puppet clients.
>
> I'm using the following pattern:
>
> class cron {
> $minute = generate('/usr/bin/env', 'sh', '-c', 'printf $((RANDOM
> %60+0))')
$minute = fqdn_rand(59)
That generates a random, but consistent, number in the 0-59 range based on the
name of the host. This will give some spread, but not the complete randomness
of the method above.
Daniel
--
✣ Daniel Pittman ✉ [email protected] ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.