Saltstack Official Apache Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rewrite.sls 209B

11 years ago
11 years ago
11 years ago
11 years ago
12345678910111213
  1. include:
  2. - apt
  3. {% if grains['os']=="Ubuntu" %}
  4. a2enmod rewrite:
  5. cmd.run:
  6. - unless: ls /etc/apache2/mods-enabled/rewrite.load
  7. - order: 225
  8. - watch_in:
  9. - cmd: apache-restart
  10. {% endif %}