gvasalt/states/gnuviechadmin/gvapgsql.sls

19 lines
448 B
Text
Raw Normal View History

2017-08-20 12:55:04 +02:00
include:
- gnuviechadmin.base
- gnuviechadmin.celery
gvapgsql-pgsql-user:
postgres_user.present:
- name: {{ salt['pillar.get']('gnuviechadmin:pgsql_admin_user', 'gvapgsql') }}
- password: {{ salt['pillar.get']('gnuviechadmin:pgsql_admin_password') }}
2017-08-20 12:55:04 +02:00
- user: postgres
- superuser: True
- login: True
gvapgsql-packages:
pkg.installed:
- pkgs:
- libpq-dev
- require_in:
- pkg: gnuviechadmin-packages