apache-formula/apache/server_status.sls
Niels Abspoel dccfdf7962
add server_status state (#250)
Add server_status state to create a default server_status handler for localhost
2018-11-27 19:53:15 +01:00

19 lines
431 B
Plaintext

{% 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
- require:
- pkg: apache
- watch_in:
- module: apache-restart
- require_in:
- module: apache-restart
- module: apache-reload
- service: apache