Issue #4756 has been reported by Nick Lewis.

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

Author: Nick Lewis
Status: Unreviewed
Priority: Normal
Assignee: 
Category: provider
Target version: 
Affected version: development
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