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.

19 lines
316B

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