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 ... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Can you post an example of what your are trying to do? On Apr 17, 7:30 am, goacid <goa...@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 ...--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
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 ... > > > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---