On Tue, Aug 24, 2010 at 3:29 PM, Daniel Pittman <dan...@rimspace.net> wrote:
> Ohad Levy <ohadl...@gmail.com> writes: > > > Another options which I've used successfully in the past is: > > http://projects.puppetlabs.com/projects/puppet/wiki/Cron_Patterns - see > the > > section title: Setting Cron using a Puppet custom function > > > > One important thing to note is that when you get a random value, puppet > will > > change it on each puppet run. > > ...but not, to be clear, the result of the fqdn_rand function, which does > something pretty similar to what you are proposing here with a custom > function. > > Is there some extra benefit to the model you suggest over fqdn_rand? > > it allows you to define different time intervals, e.g. you want to run it 3 times an hour with random values, so it will automatically return an array of 3 "random" numbers. Ohad -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.