Saltstack Official Apache Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

21 行
353B

  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 %}