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.

21 lines
494B

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