Issue #4756 has been updated by James Turnbull.

Status changed from Unreviewed to Accepted
Priority changed from Normal to High
Target version set to 2.6.1
Affected version changed from development to 2.6.1rc4


----------------------------------------
Bug #4756: Providers no longer respect missing features
http://projects.puppetlabs.com/issues/4756

Author: Nick Lewis
Status: Accepted
Priority: High
Assignee: 
Category: provider
Target version: 2.6.1
Affected version: 2.6.1rc4
Keywords: 
Branch: 


I'm testing on FreeBSD, which does not have the manages_passwords feature. The 
following manifest attempts to set the password, despite not actually knowing 
how.

<pre>
user { "testuser":
  ensure => present,
  password => anything,
}
</pre>

On 0.25.x, this gives a message like "info: /User[testuser]: Provider pw does 
not support features manages_passwords; not managing attribute password".

This is only an issue for cases where a feature is required for a property to 
exist at all. The case where only certain values of the property depend on a 
feature (eg. ensure => "1.2.3" for packages requires versionable) still works.

This appears to have been introduced in 
commit:e5478d4ff0510e637ecec69f8b2fc7ef844ba5c0.


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