Skip to content

Fixed changing user password with MongoDB 2.6#442

Merged
bastelfreak merged 2 commits intovoxpupuli:masterfrom
webcompas:master
Feb 23, 2018
Merged

Fixed changing user password with MongoDB 2.6#442
bastelfreak merged 2 commits intovoxpupuli:masterfrom
webcompas:master

Conversation

@webcompas
Copy link
Copy Markdown
Contributor

@webcompas webcompas commented Feb 14, 2018

Fixes #438

@webcompas
Copy link
Copy Markdown
Contributor Author

Please merge

@ekohl ekohl changed the title Fixed changing user password with MongoDB 2.6 (Fixes voxpupuli/puppet… Fixed changing user password with MongoDB 2.6 Feb 21, 2018
Copy link
Copy Markdown
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not very familiar with mongodb but https://docs.mongodb.com/v2.6/reference/method/db.changeUserPassword/ tells me the 2.4 method should also work. Any reason not to use if mongo_24? || mongo_26?? Maybe even introduce mongo_2?

@webcompas
Copy link
Copy Markdown
Contributor Author

webcompas commented Feb 21, 2018

You're right, the 2.4 method also works. I've changed it accordingly.

@webcompas
Copy link
Copy Markdown
Contributor Author

Please merge as the changes have already been approved.

@bastelfreak bastelfreak merged commit 148d0d3 into voxpupuli:master Feb 23, 2018
@bastelfreak
Copy link
Copy Markdown
Member

Thanks for the PR @webcompas !

@bastelfreak bastelfreak added the bug Something isn't working label Feb 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants