Installing windows update after patch Tuesday

10 views
Skip to first unread message

Roger

unread,
Dec 14, 2018, 12:19:08 PM12/14/18
to Puppet Users

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).

Reply all
Reply to author
Forward
0 new messages