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.

19 line
341B

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