2018-11-27 19:53:15 +01:00
|
|
|
{% from "apache/map.jinja" import apache with context %}
|
|
|
|
|
|
|
|
include:
|
|
|
|
- apache
|
|
|
|
- apache.config
|
|
|
|
|
|
|
|
{{apache.confdir}}/server-status{{apache.confext}}:
|
|
|
|
file.managed:
|
|
|
|
- source: salt://apache/files/server-status.conf.jinja
|
|
|
|
- template: jinja
|
2019-09-25 20:03:49 +02:00
|
|
|
- context:
|
|
|
|
apache: {{ apache | json }}
|
2018-11-27 19:53:15 +01:00
|
|
|
- require:
|
|
|
|
- pkg: apache
|
|
|
|
- watch_in:
|
|
|
|
- module: apache-restart
|
|
|
|
- require_in:
|
|
|
|
- module: apache-restart
|
|
|
|
- module: apache-reload
|
|
|
|
- service: apache
|