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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.