Issue #2902 has been updated by Nigel Kersten.

When we were thinking about it here we came up with three main options.

a) add another parameter to the File resource (make_mutable?)
b) add this to the "force" parameter
c) Inherit the File resource to a MutableFile resource

Really for upstream puppet only a) or b) make sense. I'm unsure which method 
makes the most sense.

afaik, the only two implementations for this are chattr and chflags, but my 
commercial UNIX-fu is pretty weak outside of Linux, BSDs and OS X.
----------------------------------------
Feature #2902: Check for immutable files managed by Puppet
http://projects.reductivelabs.com/issues/2902

Author: Brad Fowler
Status: Accepted
Priority: Normal
Assigned to: 
Category: file
Target version: 
Affected version: 0.25.1
Keywords: 
Branch: 


Puppet should be able to override files it manages that are made immutable with 
chattr/chflags, perhaps by updating the File resource and determining what 
environment it's being run on.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--

You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.


Reply via email to