> 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
[email protected]
--
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.