Is there a simple way to enforce a different mode for a directory and its 
contents when the contents of the directory are highly variable? What I 
mean is that I've got a case where some developers want a directory 
"/var/log/httpd" to be protected 755 but the contents they want at 644. Is 
there a simple, Puppet-ish way to make this happen, or are we basically 
stuck with:

file { '/var/log/httpd':
    ensure => directory,
    mode => '0644',
    recurse => true,
}

It appears the default is to write the files at 644 and the directory at 
700, so maybe all I need to do is bump the directory to 755 to make them 
happy, but there's no way to monitor both ends of this that I can see.


Bret

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/72bf774d-39d5-4df6-9c99-cfb1e2260ef2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to