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.

23 line
365B

  1. {% if grains['os_family']=="Debian" %}
  2. include:
  3. - apt
  4. mod-fcgid:
  5. pkg.installed:
  6. - name: libapache2-mod-fcgid
  7. - order: 180
  8. - require:
  9. - pkg: apache
  10. a2enmod fcgid:
  11. cmd.run:
  12. - order: 225
  13. - unless: ls /etc/apache2/mods-enabled/fcgid.load
  14. - require:
  15. - pkg: mod-fcgid
  16. - watch_in:
  17. - cmd: apache-restart
  18. {% endif %}