apache-formula/apache/mod_proxy_http.sls

19 lines
316 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:
- cmd: apache-restart
{% endif %}