On 12/07/2010 08:52 PM, Douglas Garstang wrote: > If I'm pushing out a bunch of files in a directory, like this... > > file { > "/usr/local/lg/bin/": > source => "puppet://${server}/usr/local/lg/bin", > mode => 755, > owner => "root", > group => "root", > recurse => true, > ignore => ".svn"; > } > > This sets both the directory _and_ file perms to 755. How can I see the > directory to 755, and the files beneath it to something else (I want the > files to be 700) ?
If you manage the tree recursively, pick one mode. Having the root dir 755 and all others 700 is not going to be possible any time soon, I wager. Regards, Felix -- 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.