Thank you for your answer, I thought this was the case, I coudn't see any mechanism to control the order.
Is is true enough to say that eventually, everything will run? On 18/04/2010, Daniel Pittman <dan...@rimspace.net> wrote: > Mr Gabriel <angelisonl...@gmail.com> 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 ✉ dan...@rimspace.net ☎ +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 puppet-us...@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. > > -- Sent from my mobile device -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.