Arn't you missing the purge option? Be carefull, if you do something
wrong it could destroy you data. Make a test directory for this.


On 23 Jul, 08:07, alcy <mohit.chawla.bin...@gmail.com> wrote:
> Alright so if I have something like
>
> file {"xyz":
>
>        ensure=>directory,
>        mode=>644
>        owner=>"abc",
>        group=>"abc",
>        recurse=>true,
>
>      }
>
> ...then all this does is to set the appropriate file permissions for
> the subdirectories & files under xyz, but it doesn't change the owner/
> group of those subdirs & files. It only changes/sets the owner of the
> xyz directory only, not anything under xyz.
>
> So, currently I am resorting to doing an exec for chown -R, but that
> doesn't look like a good solution, maybe I am missing something
> fundamental here.

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to