>
>
>   file { '/var/lib/nagios/plugins': 
>>         ensure    => directory, 
>>         recurse   => true, 
>>         mode      => '0775', 
>>   } 
>
>
I should also point out that this is unnecessary, as Puppet will 
automatically promote read permissions to read & execute permissions for 
directories. If you simply remove the second file declarations from your 
code, you'll have the behavior that I think you're expecting.

http://docs.puppetlabs.com/references/latest/type.html#file-attribute-mode

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/f4d039a2-d13e-4a98-b9d2-80e9ebea0785%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to