Saltstack Official Apache Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 line
518B

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