amrset <[email protected]> writes:
> Would it be possible to do something like:
>
> file { "/foo/voo/bar/baz" :
> ensure => directory,
> between => {
> start => "/foo",
> end => "/foo/voo/bar",
> owner => "foo",
> group => "foo",
> mode => 755, }
> between => {
> start => "/foo/voo/bar/baz",
> end => "/foo/voo/bar/baz",
> owner => "baz",
> group => "baz",
> mode => 775, }
> }
Isn't that just:
file { "/foo": owner => "foo", recurse => true }
file { "/foo/voo/bar/baz": owner => "baz", recurse => true }
...since the second instance is more specific, so will override the first
instance?
Daniel
--
✣ Daniel Pittman ✉ [email protected] ☎ +61 401 155 707
♽ made with 100 percent post-consumer electrons
--
You received this message because you are subscribed to the Google Groups
"Puppet Developers" 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-dev?hl=en.