@@ -122,6 +122,19 @@ Salt syndic: Lower master | |||
host: master-of-master-host | |||
timeout: 5 | |||
Salt syndic: Lower master with multi-master of masters | |||
.. code-block:: yaml | |||
salt: | |||
syndic: | |||
enabled: true | |||
masters: | |||
- host: master-of-master-host1 | |||
- host: master-of-master-host2 | |||
timeout: 5 | |||
Salt master with custom handlers | |||
.. code-block:: yaml |
@@ -1,4 +1,11 @@ | |||
{%- 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') }} |