On 4/11/2010 4:53 AM, Daniel Pittman wrote:
amrset<[email protected]>  writes:
Daniel Pittman wrote:
amrset<[email protected]>  writes:

Would it be possible to do something like:

file { "/foo/voo/bar/baz" :
[...]
}

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?

A few issues - first - which one would run first?  (order would matter
right?)

All the usual ordering meta-parameters are going to work as expected, so you
can have the second depend on the first.

That should happen automatically, as puppet recognizes that /foo/voo is a subdirectory of /foo.


Best Regards, David
--
dasz.at OG              Tel: +43 (0)664 2602670     Web: http://dasz.at
Klosterneuburg                                         UID: ATU64260999

       FB-Nr.: FN 309285 g          FB-Gericht: LG Korneuburg

--
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.

Reply via email to