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

pirms 7 gadiem
pirms 7 gadiem
12345678910111213141516171819202122232425
  1. {%- from "salt/map.jinja" import syndic with context %}
  2. {%- if syndic.enabled %}
  3. include:
  4. - salt.master.service
  5. salt_syndic_packages:
  6. pkg.installed:
  7. - names: {{ syndic.pkgs }}
  8. /etc/salt/master.d/_syndic.conf:
  9. file.managed:
  10. - source: salt://salt/files/_syndic.conf
  11. - user: root
  12. - template: jinja
  13. - watch_in:
  14. - service: salt_master_service
  15. - service: salt_syndic_service
  16. salt_syndic_service:
  17. service.running:
  18. - name: {{ syndic.service }}
  19. - enable: true
  20. {%- endif %}