Saltstack Official Apache Formula
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

28 行
656B

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