apache-formula/apache/mod_proxy_http.sls

18 lines
311 B
Plaintext

{% if grains['os_family']=="Debian" %}
include:
- 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 %}