Issue #13054 has been updated by Moses Mendoza. Target version changed from 2.7.14 to 3.0.0
Note - This was actually released as part of 3.0.0rc1 which was pulled out of rc. ---------------------------------------- Feature #13054: Allow schedule type's "range" parameter to span days https://projects.puppetlabs.com/issues/13054#change-68221 Author: Sean Millichamp Status: Merged - Pending Release Priority: Normal Assignee: Jeff Weiss Category: schedule Target version: 3.0.0 Affected Puppet version: Keywords: schedule range Branch: https://github.com/puppetlabs/puppet/pull/642 Currently, if you had to specify a 10 PM until 4 AM change window every night in a schedule you could do: <pre> schedule { 'maintenance_window': range => [ '22:00 - 23:59', '00:00 - 04:00' ] } </pre> However, a common and more natural way of expressing this would be something like: <pre> schedule { 'maintenance_window': range => '22:00 - 04:00' } </pre> Furthermore, with the addition of day-of-the-week schedule parameter added in https://projects.puppetlabs.com/issues/10328 there is currently no way to specify a 10 PM - 4 AM maintenance window that only can occur starting at 10 PM on Saturday and ending at 4 AM on Sunday. To address a schedule like this, the following schedule should be supported: <pre> schedule { 'limited_maintenance_window': weekday => 'Saturday', range => '22:00 - 04:00' } </pre> That is, consider this a valid schedule for the range starting at 10 PM Saturday and lasting over the midnight boundary to the following 4 AM on Sunday. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" 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-bugs?hl=en.
