Hi, That's not the behaviour that I see. You must be calling that class in a base class or are you using import statements, which I believe can cause such issues.
Cheers, Den On 10/08/2011, at 9:24, Matthew Barker <eleriansyst...@gmail.com> wrote: > 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 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. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. 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.