Repository navigation
[FEATURE REQUEST] Replace postgres_user and postgres_group with postgres_role #67307
OrangeDog
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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_userbut notpostgres_group. At time of writing there are some annoying differences.If
postgres_groupdid 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_rolemodule. Have the old states simply call it with different defaults.Describe alternatives you've considered
Continue to maintain two (near-)identical state modules.
All reactions