Skip to content

Commit

Permalink
Fixed changing user password (Fixes #438)
Browse files Browse the repository at this point in the history
  • Loading branch information
webcompas committed Feb 7, 2018
1 parent 951b8a2 commit c096fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/mongodb_user/mongodb.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def password=(value)
else
cmd_json = <<-EOS.gsub(%r{^\s*}, '').gsub(%r{$\n}, '')
{
"updateuser": "#{@resource[:username]}",
"updateUser": "#{@resource[:username]}",
"pwd": "#{@resource[:password]}",
"digestpassword": true
}
Expand Down

0 comments on commit c096fe0

Please sign in to comment.