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.

mod_suexec.sls 511B

12345678910111213141516171819202122
  1. {% from "apache/map.jinja" import apache with context %}
  2. include:
  3. - apache
  4. {% if grains['os_family']=="FreeBSD" %}
  5. {{ apache.modulesdir }}/040_mod_suexec.conf:
  6. file.managed:
  7. - source: salt://apache/files/{{ salt['grains.get']('os_family') }}/mod_suexec.conf.jinja
  8. - mode: 644
  9. - template: jinja
  10. - require:
  11. - pkg: apache
  12. - watch_in:
  13. - module: apache-restart
  14. - require_in:
  15. - module: apache-restart
  16. - module: apache-reload
  17. - service: apache
  18. {% endif %}