Re: [Puppet Users] Re: Puppet Resources Ordering

2013-09-16 Thread chengkai liang
Thanks for this information. I'm now looking at the anchor pattern. On Sep 16, 2013, at 6:43 AM, jcbollinger wrote: > > > On Monday, September 16, 2013 12:19:50 AM UTC-5, Rahul Khengare wrote: > Hi Chengkai, > I have faced similar kind of problem for class ordering using ordering > arrow

[Puppet Users] Re: Puppet Resources Ordering

2013-09-16 Thread jcbollinger
On Monday, September 16, 2013 12:19:50 AM UTC-5, Rahul Khengare wrote: > > Hi Chengkai, > I have faced similar kind of problem for class ordering using ordering > arrow (*->)*. You can try the stage resources for ordering classes. > > Run stages are indeed a mechanism for controlling applic

[Puppet Users] Re: Puppet Resources Ordering

2013-09-16 Thread JuanBrein
This could be related to a bug in puppet, even though the dependency is defined between classes, the resources within the classes float and get executed in a different order. Take a look at the "anchor" pattern in the puppetlabs documentation. Juan On Sunday, September 15, 2013 6:14:17 AM UTC

[Puppet Users] Re: Puppet Resources Ordering

2013-09-15 Thread Rahul Khengare
Hi Chengkai, I have faced similar kind of problem for class ordering using ordering arrow (*->)*. You can try the stage resources for ordering classes. Refer following code snippet, #Declare stage resources stage {'first':} stage {'second':} stage {'third':} #Define ordering of stages Stage