apache-formula/apache/rewrite.sls

16 lines
257 B
Plaintext
Raw Normal View History

{% if grains['os_family']=="Debian" %}
2013-07-29 23:29:41 +02:00
include:
- apache
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
- require:
- pkg: apache
2013-07-29 23:29:41 +02:00
- watch_in:
- module: apache-restart
2013-07-29 23:29:41 +02:00
{% endif %}