apache-formula/rewrite.sls

13 lines
193 B
Plaintext
Raw Normal View History

2013-07-29 23:29:41 +02:00
include:
2013-07-29 23:30:14 +02:00
- apt
2013-07-29 23:29:41 +02:00
{% if grains['os']=="Ubuntu" %}
a2enmod rewrite:
cmd.run:
- unless: ls /etc/apache2/mods-enabled/rewrite.load
- watch_in:
- cmd: apache2-restart
{% endif %}