{%- from "salt/map.jinja" import syndic with context %} {%- if syndic.masters is defined %} syndic_master: {%- for master in syndic.masters %} - {{ master.host }} {%- endfor %} {%- else %} syndic_master: {{ syndic.master.host }} {%- endif %} syndic_wait: {{ syndic.get('timeout', '5') }}