Remove obsolete gnuviechadmin.webinterface

This commit is contained in:
Jan Dittberner 2020-04-05 20:36:28 +02:00
parent 44c9dac77d
commit 4a5beef868
2 changed files with 0 additions and 57 deletions

View file

@ -1,13 +0,0 @@
include:
- gnuviechadmin
- gnuviechadmin.queues.common
- gnuviechadmin.queues.gva
gnuviechadmin:
component:
name: gva
amqp_user: gva
python_module: gnuviechadmin
webmail_url: https://webmail.example.com/
phpmyadmin_url: https://phpmyadmin.example.com/
phppgadmin_url: https://phppgadmin.example.com/

View file

@ -1,44 +0,0 @@
include:
- gnuviechadmin.base
- gnuviechadmin.django
- webserver
gnuviechadmin-dev-packages:
pkg.installed:
- pkgs:
- libjpeg-dev
- libpq-dev
- require_in:
- pkg: gnuviechadmin-packages
python-cryptography:
pkg.latest:
- reload_modules: true
- fromrepo: jessie-backports
{% import "webserver/sslcert.macros.sls" as sslcert %}
{% set domainname = salt['pillar.get']('gnuviechadmin:domainname') %}
{{ sslcert.key_cert(domainname) }}
/etc/nginx/sites-available/{{ domainname }}:
file.managed:
- user: root
- group: root
- mode: 0640
- source: salt://gnuviechadmin/gva/gnuviechadmin.nginx
- template: jinja
- context:
domainname: {{ domainname }}
ssl_keydir: {{ salt['pillar.get']('nginx:sslkeydir', '/etc/nginx/ssl/private') }}
ssl_certdir: {{ salt['pillar.get']('nginx:sslcertdir', '/etc/nginx/ssl/certs') }}
- require:
- pkg: nginx
/etc/nginx/sites-enabled/{{ domainname }}:
file.symlink:
- target: /etc/nginx/sites-available/{{ domainname }}
- require:
- file: /etc/nginx/sites-available/{{ domainname }}
- watch_in:
- service: nginx