The ordering only applies to the order in which resources are applied, not
the order in which the code is processed.

It will work like you expect if you switch out the calls to the notice
function with notify resources.

On Mon, Oct 24, 2011 at 3:48 AM, Andre Nathan <andre...@gmail.com> wrote:

> Hello
>
> I'm experimenting with the new resource chaining syntax. Here's the
> code:
>
>  class first { notice("first") }
>  class second { notice("second") }
>  class third { notice("third") }
>
>  include third
>  include second
>  include first
>
>  Class["first"] -> Class["second"] -> Class["third"]
>
> Shouldn't the last line guarantee that the classes are executed in
> that specific order?
>
> Thanks in advance,
> Andre
>
> --
> 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+unsubscr...@googlegroups.com.
> 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 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