On Dec 7, 2010, at 11:52 AM, 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"; > }
For better or worse, Puppet will automatically set the execute bit on a directory if the read bit is set, so you can just define the mode as "644" and it will work. For example, if you define it as 604, puppet will change it to, 705. This might only apply to directories with "recurse => true", I haven't ever tested it. -- 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.