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.

1234567891011121314151617
  1. {% if grains['os_family']=="Debian" %}
  2. include:
  3. - apache
  4. - apache.mod_proxy
  5. a2enmod proxy_http:
  6. cmd.run:
  7. - unless: ls /etc/apache2/mods-enabled/proxy_http.load
  8. - order: 225
  9. - require:
  10. - pkg: apache
  11. - cmd: a2enmod proxy
  12. - watch_in:
  13. - module: apache-restart
  14. {% endif %}