[Puppet Users] Re: Are these the same?

2012-11-25 Thread Ugo Bellavance
I'm not a puppet expert, but your situation would probably fit more with an usage of stages. It would allow you to define stages and order or those. On Sunday, November 25, 2012 11:56:40 AM UTC-5, Smashed wrote: > > Trying to figure out if these would behave the same or not? > > Example 1: > -

[Puppet Users] Re: Are these the same?

2012-11-26 Thread jcbollinger
On Sunday, November 25, 2012 10:56:40 AM UTC-6, Smashed wrote: > > Trying to figure out if these would behave the same or not? > > Example 1: > - > > class Foo { > require Bar > someresource { 'baz': > …. # This depends on A,B and C being already completed > }

Re: [Puppet Users] Re: Are these the same?

2012-11-25 Thread Mark
Stages? Would you mind elaborating? Sent from my iPhone On Nov 25, 2012, at 11:37 AM, Ugo Bellavance wrote: > I'm not a puppet expert, but your situation would probably fit more with an > usage of stages. > > It would allow you to define stages and order or those. > > On Sunday, November 25,

Re: [Puppet Users] Re: Are these the same?

2012-11-25 Thread Ugo Bellavance
I read about that in the puppet 2.7 cookbook book that I bought a few days ago. On Sunday, November 25, 2012 3:26:41 PM UTC-5, Smashed wrote: > > Stages? Would you mind elaborating? > > Sent from my iPhone > > On Nov 25, 2012, at 11:37 AM, Ugo Bellavance > > wrote: > > I'm not a puppet expert, b

Re: [Puppet Users] Re: Are these the same?

2012-11-25 Thread Ugo Bellavance
http://docs.puppetlabs.com/references/latest/type.html#stage On Sunday, November 25, 2012 4:05:40 PM UTC-5, Ugo Bellavance wrote: > > I read about that in the puppet 2.7 cookbook book that I bought a few days > ago. > > On Sunday, November 25, 2012 3:26:41 PM UTC-5, Smashed wrote: >> >> Stages? W

Re: [Puppet Users] Re: Are these the same?

2012-11-30 Thread Jakov Sosic
On 11/26/2012 07:59 PM, jcbollinger wrote: > Trying to figure out if these would behave the same or not? > > Example 1: > - > > class Foo { > require Bar > > Example 2: > > > class Foo { > include Bar > > So will th

Re: [Puppet Users] Re: Are these the same?

2012-11-30 Thread Johan De Wit
On 11/30/2012 09:01 PM, Jakov Sosic wrote: On 11/26/2012 07:59 PM, jcbollinger wrote: Trying to figure out if these would behave the same or not? Example 1: - class Foo { require Bar Example 2: class Foo { inc

Re: [Puppet Users] Re: Are these the same?

2012-11-30 Thread Jakov Sosic
On 11/30/2012 11:48 PM, Johan De Wit wrote: > Thy both includes the class, but require adds a dependency to the > included class. > from the docs : > This function is a superset of the ‘include’ function, adding a class > relationship so that the requiring class depends on the required class. > Gr

Re: [Puppet Users] Re: Are these the same?

2012-12-02 Thread Henrik Lindberg
On 2012-01-12 24:25, Jakov Sosic wrote: On 11/30/2012 11:48 PM, Johan De Wit wrote: Thy both includes the class, but require adds a dependency to the included class. from the docs : This function is a superset of the ‘include’ function, adding a class relationship so that the requiring class de