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 <ug...@lubik.ca <javascript:>> 
> 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, 2012 11:56:40 AM UTC-5, 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 
>>   } 
>> } 
>>
>> class Bar { 
>>   include A 
>>   include B 
>>   include C 
>> } 
>>
>>
>> Example 2: 
>> ---------------- 
>>
>> class Foo { 
>>   include Bar 
>>   someresource { 'baz': 
>>      …. 
>>      require => Class['Bar'] 
>>   } 
>> } 
>>
>> class Bar { 
>>   include A 
>>   include B 
>>   include C 
>> } 
>>
>>
>> So will these behave the same? When I require Bar in the first example 
>> are the A,B and C resources guaranteed to be executed before the resource 
>> in Foo? Same question goes for example 2 
>>
>>
>> Thanks for the clarification!
>
>  -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/puppet-users/-/oP6xEACJKIwJ.
> To post to this group, send email to puppet...@googlegroups.com<javascript:>
> .
> To unsubscribe from this group, send email to 
> puppet-users...@googlegroups.com <javascript:>.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/gm3H_Kr75YEJ.
To post to this group, send email to puppet-users@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.

Reply via email to