apache-formula/apache/rewrite.sls

17 lines
262 B
Plaintext
Raw Normal View History

{% if grains['os_family']=="Debian" %}
2013-07-29 21:29:41 +00:00
include:
2013-07-29 21:30:14 +00:00
- apt
- apache
2013-07-29 21:29:41 +00:00
a2enmod rewrite:
cmd.run:
- unless: ls /etc/apache2/mods-enabled/rewrite.load
2013-07-29 21:32:16 +00:00
- order: 225
- require:
- pkg: apache
2013-07-29 21:29:41 +00:00
- watch_in:
2013-07-29 21:30:29 +00:00
- cmd: apache-restart
2013-07-29 21:29:41 +00:00
{% endif %}