[puppetlabs/puppet] 719396: (PUP-2647) Report when password is changed

0 views
Skip to first unread message

GitHub

unread,
Oct 1, 2014, 3:08:23 PM10/1/14
to puppet-...@googlegroups.com, puppet...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/puppetlabs/puppet
Commit: 7193960b5a42ac763d4ddf3abd5ff759fbd65ab8
https://github.com/puppetlabs/puppet/commit/7193960b5a42ac763d4ddf3abd5ff759fbd65ab8
Author: Josh Cooper <jo...@puppetlabs.com>
Date: 2014-09-30 (Tue, 30 Sep 2014)

Changed paths:
M lib/puppet/provider/user/windows_adsi.rb
M spec/unit/provider/user/windows_adsi_spec.rb

Log Message:
-----------
(PUP-2647) Report when password is changed

Previously, if Puppet changed the user's password, it would always
report that the password was created, instead of changed. This was because
the provider's `password` getter method returned :absent when the current
password didn't match the desired value.

This commit changes the windows user provider to return nil if the
passwords don't match. This will cause puppet to sync the passwords
and correctly report that the password was changed.


Commit: c006dbac392ef42985585fe2ffe67c320d857ca3
https://github.com/puppetlabs/puppet/commit/c006dbac392ef42985585fe2ffe67c320d857ca3
Author: Adrien Thebo <g...@somethingsinistral.net>
Date: 2014-10-01 (Wed, 01 Oct 2014)

Changed paths:
M lib/puppet/provider/user/windows_adsi.rb
M spec/unit/provider/user/windows_adsi_spec.rb

Log Message:
-----------
Merge pull request #3143 from joshcooper/ticket/master/PUP-2647-password-changed

(PUP-2647) Report when password is changed


Compare: https://github.com/puppetlabs/puppet/compare/55d924393b05...c006dbac392e
Reply all
Reply to author
Forward
0 new messages