Issue #5709 has been updated by Nick Fagerlund.

I was talking with Dan Bode about stages, and he mentioned that the containment 
problems in 2.6 that necessitated the anchor resource type (in the 
puppetlabs-stdlib module) will bite you in stages as well. In short, when a 
class is declared by another class, its resources don't end up contained in the 
exterior class. This means that if you specify a stage for a class that 
declares other classes, the other classes will just float down to 
`Stage['main']`, which'll probably mean a blow up if there are any order 
relationships between these interior classes and anything contained in the 
exterior class.

You could work around this by adding a new class parameter devoted only to 
propagating a stage down to interior classes, thus basically specifying the 
stage twice when you declare the class, but that is the path of madness. In the 
meantime, unless we work out a way for classes to contain other classes, stages 
mix badly with classes that declare classes. 
----------------------------------------
Feature #5709: Run stages should be better documented with more examples
https://projects.puppetlabs.com/issues/5709

Author: James Turnbull
Status: Accepted
Priority: Normal
Assignee: Nick Fagerlund
Category: 
Target version: 
Keywords: run stages runstages.
Branch: 
Affected URL: 


As per title.


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