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.
|
- {% from "apache/map.jinja" import apache with context %}
-
- include:
- - apache
-
- mod_wsgi:
- pkg.installed:
- - name: {{ apache.mod_wsgi }}
- - require:
- - pkg: apache
-
- {% if 'conf_mod_wsgi' in apache %}
- {{ apache.conf_mod_wsgi }}:
- file.uncomment:
- - regex: LoadModule
- - onlyif: test -f {{ apache.conf_mod_wsgi }}
- - require:
- - pkg: mod_wsgi
- {% endif %}
|