apache-formula/rewrite.sls
2013-07-29 21:29:41 +00:00

13 lines
198 B
Plaintext

include:
- core.apt
{% if grains['os']=="Ubuntu" %}
a2enmod rewrite:
cmd.run:
- unless: ls /etc/apache2/mods-enabled/rewrite.load
- watch_in:
- cmd: apache2-restart
{% endif %}