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.

20 lines
373B

  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. {%- endif %}