Issue #10328 has been reported by Sean Millichamp.
----------------------------------------
Feature #10328: Schedule type should support selecting days of the week
https://projects.puppetlabs.com/issues/10328
Author: Sean Millichamp
Status: Unreviewed
Priority: Normal
Assignee:
Category: schedule
Target version:
Affected Puppet version: development
Keywords:
Branch: master
The schedule type should support the ability to select which days of the week
the schedule would be considered valid.
The use case where this would be for a system that has a limited change window
to a particular day of the week. For example, a production system which only
has a change window from midnight to 6 AM Saturday and Sunday should be able to
express a schedule similar to:
schedule { 'production_change':
range => '00:00:00 - 06:00:00',
weekday => [ 'Sat', 'Sun' ],
}
Right now there is no simple way to express such a change window in Puppet,
adding support to the schedule type seems like the most appropriate approach.
I propose adding a "weekday" parameter to the schedule type. It would take
either a string or an array of strings containing the days of the week in which
the schedule is valid.
I have a patch that is almost finished implementing this that I can push to
Github if the idea is approved.
--
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.