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

21 行
486B

  1. {% from "apache/map.jinja" import apache with context %}
  2. include:
  3. - apache
  4. - apache.config
  5. {{ apache.confdir }}/server-status{{ apache.confext }}:
  6. file.managed:
  7. - source: salt://apache/files/server-status.conf.jinja
  8. - template: jinja
  9. - context:
  10. apache: {{ apache | json }}
  11. - require:
  12. - pkg: apache
  13. - watch_in:
  14. - module: apache-restart
  15. - require_in:
  16. - module: apache-restart
  17. - module: apache-reload
  18. - service: apache