Mr Gabriel <[email protected]> writes:
> I'm new to puppet, and just managed to get my puppet master working, and
> creating files. Now I want to begin to build software 'stacks' that work
> across multiple distros.
>
> But my limited understanding of puppet, is that a client will download
> all its instructions at once, and the execute then, can I assume that
> they will be executed in the order they appear in site.pp ?
No. You can assume that puppet will specifically *NOT* do that.
Puppet has an internal dependency system that it uses to apply a partial
ordering to the entire set of things it has to do.
So, anything that you specify an explicit dependency for, or that has an
implicit dependency[1], you are guaranteed that puppet will do them in the
order you specify — or will fail if there is no order that works.
For everything else you can assume that the order is absolutely, completely,
totally random, and that the random order *changes* every single run.
Regards,
Daniel
Footnotes:
[1] Some actions, like creating a file, can implicitly depend on their parent
instances without you saying anything.
--
✣ Daniel Pittman ✉ [email protected] ☎ +61 401 155 707
♽ 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 [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.