apache-formula/apache/mod_proxy.sls

17 lines
283 B
Plaintext
Raw Normal View History

{% if grains['os_family']=="Debian" %}
include:
- apache
a2enmod mod_proxy:
cmd.run:
2015-11-23 19:39:28 +01:00
- name: a2enmod proxy
- unless: ls /etc/apache2/mods-enabled/proxy.load
- order: 225
- require:
- pkg: apache
- watch_in:
- module: apache-restart
{% endif %}