Disables modifying password of user 09/59409/2
authorTim Rozet <trozet@redhat.com>
Thu, 22 Jun 2017 15:19:19 +0000 (11:19 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Fri, 23 Jun 2017 19:27:44 +0000 (19:27 +0000)
commitc322c1040b910da759b0163738b86df633785ba4
tree69769d1a441846bc7625fa66a3af3ca0c475b5a8
parent0fb7db910ecf90e8568d0cbc7db2866779ed632f
Disables modifying password of user

Until we have support for detecting if an existing user's password
matches the desired password, we need to disable support for setting it.
The current behavior is we don't know what the current password is so we
always configure it.  This means our puppet module is not idempotent and
triggers ODL to restart everytime puppet is run, which is bad.

The request to add support for the idm tool to be able to check password
is:  https://bugs.opendaylight.org/show_bug.cgi?id=8721

Note this does not affect odl usernames.  We still detect if a user
already exists and if not create it with the desired password.

Change-Id: I64a23ad6fe68d1afb765f46c6b54f7291d25b47e
Signed-off-by: Tim Rozet <trozet@redhat.com>
lib/puppet/provider/odl_user/idm.rb