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.

20 rindas
450B

  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. {% endif %}
  9. service:
  10. - running
  11. - require:
  12. - service: {{ salt_settings.syndic_service }}
  13. - watch:
  14. {% if salt_settings.install_packages %}
  15. - pkg: salt-master
  16. {% endif %}
  17. - file: {{ salt_settings.config_path }}/master