Issue #5856 has been updated by Cody Herriges.

So what if something being affect by a schedule is an upstream dependency of a 
another resource? Do all other resources associated with that part of the graph 
fail when the class is outside of its schedule or do they assume that they are 
satisfied?
----------------------------------------
Feature #5856: Classes should support schedules
https://projects.puppetlabs.com/issues/5856

Author: Yuri Arabadji
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 2.7.x
Affected Puppet version: 2.6.4
Keywords: 
Branch: 


* It looks like schedules don't work for classes. This is really sad. What I 
want here is just a simple propagation down to every defined resource in the 
class, but not past the other included classes.

<pre>
schedule { 'once':
        period  => daily,
        repeat  => 1,
}

class ca {
        notify { 'RUN': }
}

node 'default' {
        class { 'ca': schedule => once }
}
</pre>

* The documentation needs to be updated for either types or metaparams or both 
and explicitly stated that schedule doesn't apply to class resources (yet). 
* Make it clear in docs that "puppet apply" can't honor schedules and that 
--ignoreschedules should be used to toggle the "[off]/[not working]" switch.

Thank you.



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

Reply via email to