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,}
--
You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/YvyV72vReyc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/90f5de75-6672-41a4-81b0-e95eab6354ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Doesn't this also make the directory itself 644 instead of 755? Maybe I need to play around with it a bit more.
--
You received this message because you are subscribed to a topic in the Google Groups "Puppet Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/puppet-users/YvyV72vReyc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8229c707-e0da-4908-9668-88dd388d39d0%40googlegroups.com.