apache-formula/fcgid.sls
2013-07-29 21:30:29 +00:00

23 lines
358 B
Plaintext

include:
- apt
{% if grains['os']=="Ubuntu" %}
mod-fcgid:
pkg.installed:
- name: libapache2-mod-fcgid
- order: 180
- require:
- pkg: apache
a2enmod fcgid:
cmd.run:
- order: 225
- unless: ls /etc/apache2/mods-enabled/fcgid.load
- require:
- pkg: mod-fcgid
- watch_in:
- cmd: apache-restart
{% endif %}