Saltstack Official Apache Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

28 rindas
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 }}