apache-formula/apache/mod_fcgid.sls
Niels Abspoel 53b995a680 Improved apache-formula
- Added more modules and configuration options
 - Renamed sls files to reflect what they do.
 - added mpm options for Debian
2015-06-19 20:44:53 +02:00

24 lines
429 B
Plaintext

{% 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:
cmd.run:
- order: 225
- unless: ls /etc/apache2/mods-enabled/fcgid.load
- require:
- pkg: mod-fcgid
- watch_in:
- module: apache-restart
{% endif %}