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 line
408B

  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. {% endif %}