Thanks

It end up a restart of nginx and everything is working! So pretty
happy
my next thing would be document what I did and make that available to
whoever needs it


On Jun 2, 4:28 am, Russell Howe <rh...@moonfruit.com> wrote:
> > 3. SO my next issue is a function I wrote (random minute for
> > cron), this stopped working, So instead of executing the
> > function is takes is a value... Anyone ???
>
> I can't help with the problem you're having, but would this do for your
> random minute?
>
>         # Random minute between 10 past and 10 to the hour
>         $random_minute = fqdn_rand(40) + 10
>         cron { "foo":
>                 command => "bar",
>                 minute  => $random_minute,
>                 ensure  => present,
>         }
>
> fqdn_rand is described 
> here:http://docs.puppetlabs.com/references/stable/function.html#fqdnrand
>
> --
> Russell Howe
> rh...@moonfruit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
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