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.

server_status.sls 486B

1234567891011121314151617181920
  1. {% from "apache/map.jinja" import apache with context %}
  2. include:
  3. - apache
  4. - apache.config
  5. {{ apache.confdir }}/server-status{{ apache.confext }}:
  6. file.managed:
  7. - source: salt://apache/files/server-status.conf.jinja
  8. - template: jinja
  9. - context:
  10. apache: {{ apache | json }}
  11. - require:
  12. - pkg: apache
  13. - watch_in:
  14. - module: apache-restart
  15. - require_in:
  16. - module: apache-restart
  17. - module: apache-reload
  18. - service: apache