I take it you're not familiar with the `requires' parameter.

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

> Sometimes things just have to happen in sequence.
> It is the simplest of relations, but puppet really
> has no convenient, non-fiddly way to express it.
> So, how about
>
>
> class x {
>
>        order { "z":
>
>                file { "a":
>                        ...
>                }
>
>                exec {
>                        "b": ... ;
>                        "c": ... ;
>                        "d": ... ;
>                        "e": ... ;
>                }
>        }
>
> }
>
> Things inside order { } happen in the order
> that they appear.  They implicitly have before
> dependency assigned according to their position.
>
> --
> 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