On Jan 19, 2:33 am, Antidot SAS <[email protected]> wrote:
> Thx you very much this helps a lot.
>
> Just have a last point unclear from your example 4. As you said for example
> 1: "Puppet will ensure that class_B's definition is evaluated before
> anything following the "include" line inside class_A's definition" so
> what's the use of declaring: Class['class_B'] -> Class['class_A'], isn't it
> redundant?


Not at all.  "Evaluating the definition" is part of parsing the
manifests to compile them into a catalog for the node.  This happens
on the master.  Resource and class relationships, such as those
defined via resource chaining and the 'before' metaparameter, affect
only the order in which the Puppet agent *applies* resources to the
node.

It is very important to understand the distinction between
evaluation / parse order on one hand, and application order on the
other.  The former affects only the master's compilation of manifests
into a catalog, and the latter affects only the agent's sequence of
actions.  That's what Felix was talking about when he wrote "require
=> is largely orthogonal to the other mentioned concepts".


John

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" 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-users?hl=en.

Reply via email to