Issue #4183 has been updated by James Turnbull.

Status changed from Unreviewed to Needs design decision
Assigned to set to Luke Kanies


----------------------------------------
Feature #4183: Resource parameters should allow the user to manage them only if 
they're "absent"
http://projects.puppetlabs.com/issues/4183

Author: Jeff McCune
Status: Needs design decision
Priority: Normal
Assigned to: Luke Kanies
Category: 
Target version: 
Affected version: 0.25.5
Keywords: defaults resource type parameter password user file content default 
attribute audit report
Branch: 


Overview:
Puppet should facilitate the ability to manage arbitrary resource parameters 
only if those parameters are in an initial or "unset" state.  By initial or 
unset, I mean their default state.

Detailed Information:
There are a number of use cases for this feature.  The most common I've seen is 
the ability to manage the password of an user resource only if the password is 
unset.

Another, which puppet already supports is the ability to manage the contents of 
a file only if the contents of the file are blank.

Related to the mount resource, puppet should manage the filesystem type field 
as "auto" only if the filesystem type field is blank.

Expected Behavior:
Ideally, this functionality would be a first-class citizen on all resource type 
parameters, rather than specific to only certain resources like user, file 
contents, and user passwords.

Additional information:
The architecture and design of puppet is to manage state over time, which this 
feature may be in direct conflict with.  However, with auditing and reporting 
features being introduced into the architecture, the philosophy should still 
persevere as certain resource parameters could be flagged as "manage once, 
audit and report forever."  This feature will increase flexibility and provide 
granularity to the parameter level rather than the resource level.


-- 
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://projects.puppetlabs.com/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