On Sat, Jan 22, 2011 at 09:26, Peter Berghold <salty.cowdawg@gmail.com>
wrote:>
> Also in 2.6 I have started using "stages" in my setups In my
site.pp file
> I have something that looks like this:
>
> stage { preamble: before => Stage[main] }
> stage { postamble: require => Stage[main] }
>
> class {
> "foo" : stage => preamble ;
> "bar": stage => postable;
> }
>
> Is it safe to assume that "foo" will always be managed during the
preamble
> stage regardless of other definitions?
Puppet will treat a dependency that would violate that expectation as
a hard error, and emit the usual "cycle found" failure; that applies
to both your requirements and any automatic requirements, which can be
tricky to debug some of the time.
So, you can safely assume that puppet won''t randomly pull
"foo" out of
the preamble.
Regards,
Daniel
=--
⎋ Puppet Labs Developer – http://puppetlabs.com
✉ Daniel Pittman <daniel@puppetlabs.com>
✆ Contact me via gtalk, email, or phone: +1 (877) 575-9775
♲ Made with 100 percent post-consumer electrons
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.