[Puppet Users] Re: Puppet : so unpredictable

Andrew Shafer
Sun, 19 Apr 2009 19:53:12 -0000

Puppet builds a dependency graph of the described resources, sorts the graph
and then walks the graph.

Order is only guaranteed on sub trees of the dependency graph.

If you have something where order matters and sometimes it works and
sometimes it doesn''t they you haven''t specified at least one
dependency.




On Fri, Apr 17, 2009 at 5:30 AM, goacid <goacid@gmail.com> wrote:

>
> Hi all,
>
> I use puppet with many modules since few times, and I remark that
> puppet take long time to finished, because I take some action which
> depends on others which are not yet executed.
> So I tried to put enough require/before inside my modules to be sur
> that the order of differents actions will be the good one, because
> some actions depends on another part of other modules.
>
> But in fact, running puppet on a fresh installed server take action in
> a certain order, and often I does not take care of the dependencies I
> try to configure. After re installation of the server, I run again
> puppet, the order of the action are not the same, sometimes better,
> sometimes not, but never the same.
>
> Does anyone have any information about puppet dependency, the
> puppetwiki is very poor concerning this question. And more important,
> how does puppet choose the way it will act on a server, first thing,
> second things ...
>
>
> >
>