On Thursday, October 11, 2012 10:32:29 AM UTC-5, alcy wrote:
>
> And although this might be a difficult question to give a generalized 
> (or rather, a slightly less technical) answer, but this behaviour of 
> floating off of the graph, is it easy to attribute this to particular 
> scenarios ?


Yes.  When one class declares another, whether via the 'include' or 
'require' function or via a parametrized-style declaration, that 
(intentionally) does not establish any ordering relationship between the 
declaring and declared classes.  Without something else, such as anchors, 
to establish an order between them, the two classes are disconnected in the 
relationship graph; that has come to be described as the declared class 
"floating off", especially when the declaring class is connected to 
multiple others in the relationship graph.

Such disconnectedness is not necessarily a problem, because it may indeed 
be that no relative ordering of the classes involved is necessary or 
expected.  If, however, the purpose of the one class declaring the other is 
to aggregate the latter into a larger unit, then it is a indeed an issue 
that needs to be addressed.  That's where you need to use the anchor 
pattern.


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/JO_lAA64ifcJ.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to