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.

mod_fcgid.sls 429B

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