16 lines
257 B
Plaintext
16 lines
257 B
Plaintext
{% if grains['os_family']=="Debian" %}
|
|
|
|
include:
|
|
- apache
|
|
|
|
a2enmod rewrite:
|
|
cmd.run:
|
|
- unless: ls /etc/apache2/mods-enabled/rewrite.load
|
|
- order: 225
|
|
- require:
|
|
- pkg: apache
|
|
- watch_in:
|
|
- module: apache-restart
|
|
|
|
{% endif %}
|