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 374B

11 vuotta sitten
11 vuotta sitten
11 vuotta sitten
11 vuotta sitten
11 vuotta sitten
7 vuotta sitten
12345678910111213141516171819
  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 apache.conf_mod_wsgi %}
  10. {{ apache.conf_mod_wsgi }}:
  11. file.uncomment:
  12. - regex: LoadModule
  13. - onlyif: test -f {{ apache.conf_mod_wsgi }}
  14. - require:
  15. - pkg: mod_wsgi
  16. {% endif %}