On 07/04/2011 11:56 PM, vagn scott wrote:
On 07/04/2011 11:51 PM, Scott Smith wrote:
Ignoring the fact that "noise" is very subjective... it doesn't. In
Puppet, position in a file has no bearing on order. It's not an
imperative language.
Oops, that should be:
file { "a":
path => " aaa ",
before => Exec[ "b" ],
}
exec { "b":
command => "bbb",
before => File[ "c" ],
}
file { "c":
path => " ccc ",
}
same as:
order { "z":
file { "aaa":
}
exec { "bbb":
}
file { "ccc":
}
}
With the added benefit that you could do
Order[ "z" ] -> Something[ "foo" ]
--
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.