commit | c01595f809dd82a2a8860310b25b8f30d92c3f3c | [log] [tgz] |
---|---|---|
author | Ales Komarek <ales.komarek@newt.cz> | Thu May 31 10:50:22 2018 +0200 |
committer | Ales Komarek <ales.komarek@newt.cz> | Thu May 31 10:50:44 2018 +0200 |
tree | eee4237caf3a7bea05edd64f72885679c7c83360 | |
parent | e0d1f1c0bd6c433de2252fceb039eeb764cccdbc [diff] |
Superuser
diff --git a/postgresql/_database.sls b/postgresql/_database.sls index 7771878..9fb35fc 100644 --- a/postgresql/_database.sls +++ b/postgresql/_database.sls
@@ -3,6 +3,9 @@ postgres_user.present: - name: {{ user.name }} - user: postgres + {% if user.get('superuser', False) %} + - superuser: enabled + {% endif %} {% if user.get('createdb', False) %} - createdb: enabled {% endif %}