Implement salt states for gva webinterface

- 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
This commit is contained in:
Jan Dittberner 2020-03-07 18:26:52 +01:00
parent 7e246ec1a0
commit 2833b78c8a
17 changed files with 400 additions and 19 deletions

8
states/uwsgi/init.sls Normal file
View file

@ -0,0 +1,8 @@
uwsgi:
pkg:
- installed
service.running:
- enable: True
- reload: True
- require:
- pkg: uwsgi

7
states/uwsgi/python3.sls Normal file
View file

@ -0,0 +1,7 @@
include:
- uwsgi
uwsgi-plugin-python3:
pkg.installed:
- require_in:
- service: uwsgi