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