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

1234567891011121314151617181920
  1. {% from "apache/map.jinja" import apache with context %}
  2. apache:
  3. pkg.installed:
  4. - name: {{ apache.server }}
  5. service.running:
  6. - name: {{ apache.service }}
  7. - enable: True
  8. # The following states are inert by default and can be used by other states to
  9. # trigger a restart or reload as needed.
  10. apache-reload:
  11. module.wait:
  12. - name: service.reload
  13. - m_name: {{ apache.service }}
  14. apache-restart:
  15. module.wait:
  16. - name: service.restart
  17. - m_name: {{ apache.service }}