apache-formula/apache/mod_proxy_http.sls
2014-01-04 23:54:45 +01:00

19 lines
319 B
Plaintext

{% if grains['os_family']=="Debian" %}
include:
- apt
- apache
- apache.mod_proxy
a2enmod proxy_http:
cmd.run:
- unless: ls /etc/apache2/mods-enabled/proxy_http.load
- order: 225
- require:
- pkg: apache
- cmd: a2enmod proxy
- watch_in:
- module: apache-restart
{% endif %}