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.

21 lines
423B

  1. {% if grains['os_family']=="Debian" %}
  2. {% from "apache/map.jinja" import apache with context %}
  3. include:
  4. - apache
  5. a2dissite 000-default.conf:
  6. cmd.run:
  7. - unless: test ! -f /etc/apache2/sites-enabled/000-default.conf
  8. - require:
  9. - pkg: apache
  10. - watch_in:
  11. - module: apache-reload
  12. - require_in:
  13. - module: apache-restart
  14. - module: apache-reload
  15. - service: apache
  16. {% endif %}