Greetings,
Using the puppet version included in the base debian squeeze packages
(2.6.2-5) and hit some behavior with run stages that seems a bit odd.
I have the typical pre,post stages defined in my generic sites.pp
manifest and use them in various classes which are used by all nodes
connecting to the master.
stage { 'pre': before => Stage['main'] }
stage { 'post': require => Stage['main'] }
So, when I create a new module with a class that utilizes the pre
stage via: class { 'classname': stage => pre }, all nodes on the
system begin executing the class, regardless of if they are including
the class. (The stages are defined in a module all nodes include.)
Is this normal behavior? I.e. do classes that implement stages
automatically get included in execution without explicitly being
inherited/included on a node?
Any thoughts are greatly appreciated.
Regards,
-Matt
--
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.