Issue #4756 has been updated by Nick Lewis.
The specific incorrect behavior I noticed is that this manifest
<pre>
user { "testuser":
ensure => present,
password => anything,
}
</pre>
attempts to execute the incorrect command:
`/usr/sbin/pw usermod testuser -p anything`
when
1) It should be ignoring the password,
2) -p is used simply as a guess at what the flag might be, since it's the first
letter of the word "password". It actually means the expiration date of the
user's password.
The incorrect behavior may vary between types, providers, and properties,
depending on what they do with the property.
----------------------------------------
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.