Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed changing user password with MongoDB 2.6 #442

Merged
merged 2 commits into from
Feb 23, 2018

Conversation

webcompas
Copy link
Contributor

@webcompas webcompas commented Feb 14, 2018

Fixes #438

@webcompas
Copy link
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
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
Contributor Author

webcompas commented Feb 21, 2018

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

@webcompas
Copy link
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
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