Puppet: System Administration Automated

Support

Ticket #1061 (new enhancement)

Opened 1 year ago

Last modified 9 months ago

Support weekday inside schedule type

Reported by: kstevenard Assigned to: community
Priority: normal Milestone:
Component: schedule Version:
Severity: normal Keywords: schedule
Cc: Triage Stage: Accepted
Attached Patches: Insufficient Complexity: Unknown

Description

Support weekday inside schedule type will be useful, for example in order to avoid any file change except during working hours of working days.

So I have wrote a new attribute for the schedule type, which is called weekday, this attribute take numbers from 1 to 7 with 7 being sunday

Attachments

diff-schedule-debian-puppet0.24.1-1.diff (0.9 kB) - added by kstevenard on 02/10/08 15:31:55.
This is the diff file of schedule.erb on my debian puppet package (0.24.1-1)

Change History

02/10/08 15:31:55 changed by kstevenard

  • attachment diff-schedule-debian-puppet0.24.1-1.diff added.

This is the diff file of schedule.erb on my debian puppet package (0.24.1-1)

02/14/08 00:40:10 changed by luke

  • stage changed from Unreviewed to Accepted.

The schedule type is pretty well tested, so I'd need tests on this new parameter before I could accept this patch.

04/24/08 08:07:25 changed by luke

  • component changed from library to schedule.