Feature #1249
openAdd ability to schedule changes
Description
Puppet has a bultin feature to schedule when resources get applied. However, there is some awkwardness with using this feature as it doesn't apply to a class and only to the individual types in the class. I want the ability to schedule an entire class with foreman.
I would like to be able to schedule an event that adds class(es) to a host/hostgroup/environment/.... This would be very helpful so that I could "auto add" classes during our scheduled maintenance window.
For example.
at 3AM on Sunday add the following classes to the default hostgroup.
class: apache-upgrade
class: memcache-upgrade
class: kernel-upgrade
Updated by Corey Osman about 13 years ago
how about hostgroup based schedules instead? (or in addition to) so lets say you have a hostgroup for app version 1.0, and one for 1.1. you schedule the hostrgroup for a specific host to change at 2am when the maint window starts. and put the logic of the actual upgrade into the classes.