2013-08-13 22:30:49 +02:00
|
|
|
{% if grains['os_family']=="Debian" %}
|
|
|
|
|
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
|
|
|
|
|
|
|
a2enmod rewrite:
|
|
|
|
cmd.run:
|
|
|
|
- unless: ls /etc/apache2/mods-enabled/rewrite.load
|
2013-07-29 23:32:16 +02:00
|
|
|
- order: 225
|
2013-07-29 23:29:41 +02:00
|
|
|
- watch_in:
|
2013-07-29 23:30:29 +02:00
|
|
|
- cmd: apache-restart
|
2013-07-29 23:29:41 +02:00
|
|
|
|
|
|
|
{% endif %}
|