On Mar 27, 2009, at 10:15 AM, Hui wrote:
> [...]
> schedule { often:
> repeat => 12,
> period => hourly,
> }
> [...]
> afternoontest/often/lunchhour: all aimed at testing 'repeat', however
> I couldn't see how the number of repeats made any difference. In the
> case of 'often', the result was same as always - i.e. ran once every
> half an hour (probably as expected). And afternoontest, which I would
> suppose to run no more than 6 times in the range, ran 10 times as if
> there were no repeat set and just the range.
>
> So for my requiremnt, combination of daily, range and periodmatch
> should do the trick, but I would be interested to find out how repeat
> works tho.
Schedules can only match as often as Puppet runs, which means no more
than twice an hour, with the default runinterval.
If you set the same 'often' schedule with a period of daily, you'd run
12 times in that day, for instance, but Puppet only runs twice an hour
so repeating more often than that doesn't mean anything.
--
Man is the only animal that can remain on friendly terms with the
victims he intends to eat until he eats them.
-- Samuel Butler (1835-1902)
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---