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
{{ message }}
Repository navigation
[FEATURE REQUEST] Replace postgres_user and postgres_group with postgres_role #59028
Is your feature request related to a problem? Please describe.
Users and roles are identical. The only differences is that a user has the LOGIN privilege. Internally they're both roles.
Salt-wise, the states are supposed to be identical, but historically fixes and features have been added to postgres_user but not postgres_group. At time of writing there are some annoying differences.
If postgres_group did not include the login/password options it would make some sense to keep them separate, but it does have them.
Describe the solution you'd like
Make a single postgres_role module. Have the old states simply call it with different defaults.
Describe alternatives you've considered
Continue to maintain two (near-)identical state modules.
Activity
Add SCRAM-SHA-256 support to postgres states (#59034)