18 lines
461 B
Text
18 lines
461 B
Text
include:
|
|
- gnuviechadmin.base
|
|
- gnuviechadmin.celery
|
|
|
|
gvapgsql-pgsql-user:
|
|
postgres_user.present:
|
|
- name: {{ salt['pillar.get']('gnuviechadmin:pgsql_admin_user', 'gvapgsql') }}
|
|
- password: {{ salt['grains.get_or_set_hash']('gnuviechadmin.db_admin_password', 16) }}
|
|
- user: postgres
|
|
- superuser: True
|
|
- login: True
|
|
|
|
gvapgsql-packages:
|
|
pkg.installed:
|
|
- pkgs:
|
|
- libpq-dev
|
|
- require_in:
|
|
- pkg: gnuviechadmin-packages
|