You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the solution you'd like
The user.present state currently allows declarative specification of user accounts, including passwords. However, it cannot currently declaratively determine the account to be in a locked/unlocked state. The shadow.lock_password execution module function (or appropriate unlock or OS-specific function) must be used outside of the user.present state in order to achieve the desired effect.
Describe alternatives you've considered
A module.run with onlyif/unless to check the state of the account.
Describe the solution you'd like
The
user.present
state currently allows declarative specification of user accounts, including passwords. However, it cannot currently declaratively determine the account to be in a locked/unlocked state. Theshadow.lock_password
execution module function (or appropriate unlock or OS-specific function) must be used outside of theuser.present
state in order to achieve the desired effect.Describe alternatives you've considered
A
module.run
withonlyif
/unless
to check the state of the account.Please Note
If this feature request would be considered a substantial change or addition, this should go through a SEP process here https://github.com/saltstack/salt-enhancement-proposals, instead of a feature request.
The text was updated successfully, but these errors were encountered: