mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-17 10:10:31 +00:00
added other postgres user perms such that they can be enbabled/disabled by this formula
This commit is contained in:
parent
4656452825
commit
9e1ff20af5
1 changed files with 4 additions and 0 deletions
|
@ -89,6 +89,10 @@ postgres-user-{{ name }}:
|
|||
postgres_user.present:
|
||||
- name: {{ name }}
|
||||
- createdb: {{ user.get('createdb', False) }}
|
||||
- createroles: {{ user.get('createroles', False) }}
|
||||
- createuser: {{ user.get('createuser', False) }}
|
||||
- inherit: {{ user.get('inherit', True) }}
|
||||
- replication: {{ user.get('replication', False) }}
|
||||
- password: {{ user.get('password', 'changethis') }}
|
||||
- user: {{ user.get('runas', 'postgres') }}
|
||||
- require:
|
||||
|
|
Loading…
Add table
Reference in a new issue