On Saturday, November 24, 2012 1:17:54 PM UTC-6, Smashed wrote:
>
> class Foo {
>
> require A
>
> … some other stuff
>
> }
>
>
> class A {
>
> include B
>
> include C
>
> include D
>
> }
>
>
> When structured like this does this mean that A,B,C and D will all be
> processed before Foo?
>
Classes A, B, C, and D will all be *parsed* before anything following the
'require' line in class Foo. Resources declared directly by class A will
be *applied* before resources declared directly by class Foo. The given
code does not declare any other ordering constraints.
It looks like you are running into issues related to the containment
problem. Search for documentation and discussion of the "anchor pattern"
on this group and on the PL site for more information.
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/-/pgtGvh3OjAgJ.
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.