{% from "apache/package-map.jinja" import apache with context %} | {% from "apache/package-map.jinja" import apache with context %} | ||||
include: | |||||
- apache | |||||
mod_wsgi: | mod_wsgi: | ||||
pkg: | pkg: | ||||
- installed | - installed | ||||
- name: {{ apache.mod_wsgi }} | - name: {{ apache.mod_wsgi }} | ||||
- require: | |||||
- pkg: apache | |||||
{% if grains.get('os_family') == 'RedHat' %} | {% if grains.get('os_family') == 'RedHat' %} | ||||
/etc/httpd/conf.d/wsgi.conf: | /etc/httpd/conf.d/wsgi.conf: |