Issue #14578 has been reported by Anthony Newman.

----------------------------------------
Bug #14578: Puppet does not respect implied class dependencies
https://projects.puppetlabs.com/issues/14578

Author: Anthony Newman
Status: Unreviewed
Priority: Normal
Assignee: 
Category: agent
Target version: 
Affected Puppet version: 2.7.14
Keywords: 
Branch: 


When 'include'ing modules from within another module and stating an overall 
dependency chain of modules, the intra-module dependencies are not honoured, 
causing a deterministic but essentially disordered agent run.
I expected the dependencies to cascade, and I could not find any documentation 
that stated otherwise.

e.g. 
Class['testclass1']->Class['testclass2']->Class['testclass3']->Class['testclass4']

If the individual class dependencies are stated explicitly in the calling 
module, the resultant run ordering is correct, but this breaks the 
encapsulation of modules.

e.g. 
Class['testclass1::first1thing']->Class['testclass1::second1thing']->Class['testclass2::first2thing']->Class['testclass2::second2thing']->Class['testclass3::first3thing']->Class['testclass3::second3thing']->Class['testclass4::first4thing']->Class['testclass4::second4thing']

This is a repeat of bug 12905 which was rejected. I have repeated a similar 
test but this time including Exec blocks rather than just notify{} blocks to 
rule out anything to do with compilation. This is a run-time/apply-time bug.



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