Jan Dittberner
2833b78c8a
- setup listener and pg_hba.conf for PostgreSQL server - add state code for gva - add macros for nginx and uwsgi with Python 3 support - add pillar data for gva
30 lines
614 B
Text
30 lines
614 B
Text
locales-all:
|
|
pkg.installed
|
|
|
|
postgresql:
|
|
pkg:
|
|
- installed
|
|
service.running:
|
|
- require:
|
|
- pkg: postgresql
|
|
|
|
/etc/postgresql/11/main/conf.d/custom.conf:
|
|
file.managed:
|
|
- user: postgres
|
|
- group: postgres
|
|
- source: salt://postgresql-server/custom.conf
|
|
- template: jinja
|
|
- mode: 0644
|
|
- require:
|
|
- pkg: postgresql
|
|
- watch_in:
|
|
- service: postgresql
|
|
|
|
/etc/postgresql/11/main/pg_hba.conf:
|
|
file.append:
|
|
- source: salt://postgresql-server/pg_hba_line.conf
|
|
- template: jinja
|
|
- require:
|
|
- pkg: postgresql
|
|
- watch_in:
|
|
- service: postgresql
|