Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
salt.states.user.present - mindays, warndays, and inactdays won't return to salt's default values #48801
Description of Issue/Question
If you change a user's shadow
Steps to Reproduce Issue
Show the starting values
Apply the state to change the user's settings
Verify the changes were applied.
All is well.
Now, we try to change settings to salt's default values (as defined in
Salt reports that only
Calling the state again:
Salt reports that the user is "up to date", but the
Attaching a log file. Results of
If that middle comparison to see if the option is set to the default is removed for all of them, it should just work ™
Thanks for reporting.
A PR to fix this would be greatly appreciated.