2014-01-04 19:29:22 +01:00
|
|
|
{% 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:
|
2014-01-04 23:54:45 +01:00
|
|
|
- module: apache-restart
|
2014-01-04 19:29:22 +01:00
|
|
|
|
|
|
|
{% endif %}
|