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.

9 yıl önce
123456789101112131415161718192021
  1. {%- from "salt/map.jinja" import api with context %}
  2. {%- if api.enabled %}
  3. include:
  4. - salt.master
  5. salt_api_packages:
  6. pkg.installed
  7. - names: {{ api.pkgs }}
  8. - require:
  9. - pkg: salt_master_packages
  10. salt_api_service:
  11. service.running:
  12. - name: salt-api
  13. - require:
  14. - pkg: salt_api_packages
  15. - watch:
  16. - file: /etc/salt/master
  17. {%- endif %}