The Saturday after patch Tuesday (which is the second Tuesday of the
month), I want to install updates via puppet. For this, I made a scheduled
task with the following trigger:
$trigger = {
schedule => monthly,
start_time => '13:15',
which_occurrence => second,
day_of_week => [sat],
minutes_interval => '80',
minutes_duration => '560',
}
However, the issue comes on months like this where the second Saturday
comes AFTER the second Tuesday. Is there some way to solve this in Puppet?
It might be possible to count the days after patch Tuesday. However, this
would require Puppet to be able to get the date of every second Tuesday of
the month (which it can't AFAIK).
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/0c9f98a0-1b5e-4abf-ae31-7b0ec5b20c33%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.