-
Notifications
You must be signed in to change notification settings - Fork 105
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
(MODULES-11458) Revert deferred function #490
Conversation
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.
Can you please explain why this gets reverted?
| end | ||
|
|
||
| def user_password(password) | ||
| password |
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.
did this just return the content of the password variable?
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.
yeah, it returns as it is.
We have implemented based on earlier understanding and handover but I feel probably we are missing something here. That is one reason I am reverting.
Also there is customer reported issue where /etc/shadow is getting populting with "Deferred({'name' => 'user_password', 'argume... content.
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.
I am having this exact issue currently after updating the accounts module. Rolling back in our environment until this is fixed.
cat /etc/shadow
...
admin:Deferred({'name' => 'user_password', 'arguments' => ['$6$OLbl..snip..gPrlY.']}):19943:0:99999:7:::
...
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.
the function isn't properly implemented, it only returns the password as plaintext. so I think it makes sense to revert this.
Summary
Revert deferred function
Additional Context
Add any additional context about the problem here.
Related Issues (if any)
Mention any related issues or pull requests.
Checklist
puppet apply)