2013-08-13 14:30:49 -06:00
|
|
|
{% if grains['os_family']=="Debian" %}
|
|
|
|
|
2013-07-29 21:29:41 +00:00
|
|
|
include:
|
2014-01-20 20:47:04 +00:00
|
|
|
- apache
|
2013-07-29 21:29:41 +00:00
|
|
|
|
|
|
|
mod-fcgid:
|
|
|
|
pkg.installed:
|
|
|
|
- name: libapache2-mod-fcgid
|
|
|
|
- order: 180
|
|
|
|
- require:
|
2013-07-29 21:30:29 +00:00
|
|
|
- pkg: apache
|
2013-07-29 21:29:41 +00:00
|
|
|
|
|
|
|
a2enmod fcgid:
|
|
|
|
cmd.run:
|
|
|
|
- order: 225
|
|
|
|
- unless: ls /etc/apache2/mods-enabled/fcgid.load
|
2014-01-04 23:46:47 +01:00
|
|
|
- require:
|
2013-07-29 21:29:41 +00:00
|
|
|
- pkg: mod-fcgid
|
|
|
|
- watch_in:
|
2014-01-04 23:46:47 +01:00
|
|
|
- module: apache-restart
|
2013-07-29 21:29:41 +00:00
|
|
|
|
|
|
|
{% endif %}
|