apache-formula/apache/fcgid.sls

23 lines
370 B
Plaintext
Raw Normal View History

{% if grains['os_family']=="Debian" %}
2013-07-29 23:29:41 +02:00
include:
- apache
2013-07-29 23:29:41 +02:00
mod-fcgid:
pkg.installed:
- name: libapache2-mod-fcgid
- order: 180
- require:
2013-07-29 23:30:29 +02:00
- pkg: apache
2013-07-29 23:29:41 +02:00
a2enmod fcgid:
cmd.run:
- order: 225
- unless: ls /etc/apache2/mods-enabled/fcgid.load
- require:
2013-07-29 23:29:41 +02:00
- pkg: mod-fcgid
- watch_in:
- module: apache-restart
2013-07-29 23:29:41 +02:00
{% endif %}