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
-
- mod-fcgid:
- pkg.installed:
- - name: {{ apache.mod_fcgid }}
- - order: 180
- - require:
- - pkg: apache
-
- {% if grains['os_family']=="Debian" %}
- a2enmod fcgid for apache.mod_fcgid:
- cmd.run:
- - name: a2enmod fcgid
- - order: 225
- - unless: ls /etc/apache2/mods-enabled/fcgid.load
- - require:
- - pkg: mod-fcgid
- - watch_in:
- - module: apache-restart
- - require_in:
- - module: apache-restart
- - module: apache-reload
- - service: apache
-
- {% endif %}
|