gvasalt/states/gnuviechadmin/gvapgsql.sls
Jan Dittberner 7381b5bfd8 Implement proper provisioning for gvaldap
- merge improvements from the internal saltstack repository
- define dummy secrets in the pillars
- use systemd to setup the gvaldap celery worker
2020-03-04 00:10:16 +01:00

18 lines
448 B
Text

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') }}
- user: postgres
- superuser: True
- login: True
gvapgsql-packages:
pkg.installed:
- pkgs:
- libpq-dev
- require_in:
- pkg: gnuviechadmin-packages