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_wsgi.sls 353B

1234567891011121314151617181920
  1. {% from "apache/map.jinja" import apache with context %}
  2. include:
  3. - apache
  4. mod_wsgi:
  5. pkg:
  6. - installed
  7. - name: {{ apache.mod_wsgi }}
  8. - require:
  9. - pkg: apache
  10. {% if grains.get('os_family') == 'RedHat' %}
  11. /etc/httpd/conf.d/wsgi.conf:
  12. file:
  13. - uncomment
  14. - regex: LoadModule
  15. - require:
  16. - pkg: mod_wsgi
  17. {% endif %}