Saltstack Official Salt Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

24 rindas
567B

  1. {% from "salt/map.jinja" import salt_settings with context %}
  2. include:
  3. - salt.master
  4. salt-syndic:
  5. {% if salt_settings.install_packages %}
  6. pkg.installed:
  7. - name: {{ salt_settings.salt_syndic }}
  8. {%- if salt_settings.version is defined %}
  9. - version: {{ salt_settings.version }}
  10. {%- endif %}
  11. {% endif %}
  12. service.running:
  13. - enable: True
  14. - name: {{ salt_settings.syndic_service }}
  15. - require:
  16. - service: salt-master
  17. - watch:
  18. {% if salt_settings.install_packages %}
  19. - pkg: salt-master
  20. {% endif %}
  21. - file: salt-master