Whatever problem you are trying to solve is most likely best handled outside
of Puppet.

On Mon, Jul 4, 2011 at 9:59 PM, vagn scott <vagnsc...@gmail.com> wrote:

> Thinking about this some more, I like block better,
> with order optional:
>
> class c {
>
>        block { "x":    # any order
>                package { ... }
>
>                file { "aaa": }
>                exec { "bbb": }
>                file { "ccc": }
>                include foo
>        }
>        block { "y":    # order matters
>                $ordered => true  # default is false
>                file { "ddd": }
>                exec { "eee": }
>                include baz
>                file { "fff": }
>        }
>        block { "z": # any order
>                file { "ggg": }
>                exec { "hhh": }
>                file { "iii": }
>        }
>
>        Block[ x ] -> Block[ y ] -> Block[ z ]
>
> }
>
> meaning all in x before any in y, then y in sequence,
> before any in z
>
>
> --
> 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 <puppet-users%2bunsubscr...@googlegroups.com>.
> For more options, visit this group at http://groups.google.com/**
> group/puppet-users?hl=en<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