Ken wrote:
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, }

}

or would that require re-writing chuncks of puppet?

There was a patch to support hashes:

http://github.com/reductivelabs/puppet/commit/75c32f910ea124a938a7035b3352c11a11b57d0c

So you could in theory write your own provider. Up until that patch
the Puppet DSL would not have supported the format you suggest.

So, the hash patch should be available with Rowlf?

Thanks,
-Roy



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