New version of salt-formula from Saltstack
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.

api.sls 371B

9 vuotta sitten
9 vuotta sitten
12345678910111213141516171819202122
  1. {%- from "salt/map.jinja" import master with context %}
  2. {%- if master.enabled %}
  3. include:
  4. - salt.master.service
  5. salt_api_packages:
  6. pkg.latest
  7. - names:
  8. - salt-api
  9. - require:
  10. - {{ master.install_state }}
  11. salt_api_service:
  12. service.running:
  13. - name: salt-api
  14. - require:
  15. - pkg: salt_api_packages
  16. - watch:
  17. - file: /etc/salt/master
  18. {%- endif %}