apache-formula/apache/mod_suexec.sls
Alexander Weidinger 4e12b404a4 FreeBSD: mod_suexec
2017-02-01 23:50:03 +01:00

19 lines
408 B
Plaintext

{% from "apache/map.jinja" import apache with context %}
include:
- apache
{% if grains['os_family']=="FreeBSD" %}
{{ apache.modulesdir }}/040_mod_suexec.conf:
file.managed:
- source: salt://apache/files/{{ salt['grains.get']('os_family') }}/mod_suexec.conf.jinja
- mode: 644
- template: jinja
- require:
- pkg: apache
- watch_in:
- module: apache-restart
{% endif %}