Issue #2212 has been reported by harisekhon.

----------------------------------------
Feature #2212: Purging directory contents, excluding files from other puppet 
resources or specified subdirectories
http://projects.reductivelabs.com/issues/2212

Author: harisekhon
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: file
Target version: 
Complexity: Unknown
Affected version: 0.24.7
Keywords: 


I would really like the ability to tell a directory to purge anything inside 
that is not specified as another puppet resource elsewhere with the option to 
exclude certain files or subdirectories from being removed.

This is the only way to make sure that the end effect is truly the same as the 
manifest policy dictates.

One obvious usage case would be a chroot jail. You can manage the jail from 
puppet, but it will only manage the bits of the jail you've specified. If a 
lesser administrator comes along and makes a mistake by adding something or 
leaving something he shouldn't in the jail, then puppet would not currently be 
able to help and the reality would drift away from the puppet manifest without 
any resolution unless another administrator noticed (which he probably wouldn't 
since he expects things to be fixed by the policies he wrote).

Perhaps this is already possible but it doesn't seem so from the 
documentation...?


-- 
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