-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Mongodb_user.present aplying changes on existing mongodb user even if Test=true #53965
Mongodb_user.present aplying changes on existing mongodb user even if Test=true #53965
Conversation
c468f70
to
0eb5c93
Compare
… of an existing user even in test mode.
…tioning when aplying state for an existing user
… to avoid false positives.
0eb5c93
to
889cc14
Compare
… when no changes has been made to user. Now shows changes when roles has been changed for user so its easier to see if roles going to changed in test mode. Changed tests to adapt to new behaviour.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR!
From what I can see this looks good - I kicked off the lint job again, looked like an issue with the build environment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dbuenor Can you please address the linter failure?
@dwoz have u been able to check if everything is fine now? Thx |
@dwoz ping?! |
Thanks @dbuenor! Sorry for the delay |
What does this PR do?
Fixes bug at mongodb_user.present modifying state to avoid apply changes when Test=true on an existing MongoDb user.
Add a new mongodb_user.present test for an existing MongoDb user
What issues does this PR fix or reference?
Fixes #53962
Previous Behavior
Apply changes to mongodb user when Test=true
New Behavior
Doesn't apply changes to mongodb user when Test=true, and shows a new debug message to notify that user is already present and it's going to be modified.
Tests written?
Yes
Commits signed with GPG?
No