On Tue, 2009-08-11 at 13:07 -0600, Allan Marcus wrote:
> Hi,
>
> I would like to have puppet manage a file on each client. The file is
> the same for all clients, but has two random numbers in it.
>
> I assume I can use something like fqdn_rand(0-59) to generate a random
> number between 0 a
Thanks to all of you for your help. This cron example is close to
where I was heading. Macs can use cron, but it's not encouraged, so I
will convert the concept to launchd.
---
Thanks,
Allan Marcus
505-667-5666
On Aug 11, 2009, at 9:02 PM, Larry Ludwig wrote:
>
> Here is one method to pe
Here is one method to perform puppet runs via cron:
http://reductivelabs.com/trac/puppet/wiki/Recipes/cron
It also allows you to manually tweak the times each node runs.
-L
--
Larry Ludwig
Reductive Labs
--~--~-~--~~~---~--~~
You received this message because
Depending on how you are doing it, you could use:
exec "randno" {
creates => "/tmp/foo",
}
Let me guess, you are trying to get cron to run at a random but
consistent time, yes?
>From what I've read (haven't tried it myself yet) the best way is to
map the number from
a consistent thing about t
Hi
> I would like to have puppet manage a file on each client. The file is
> the same for all clients, but has two random numbers in it.
>
> I assume I can use something like fqdn_rand(0-59) to generate a random
> number between 0 and 59, right?
>
> My main question is how to I get puppet t