{%- load_yaml as syndic_defaults %} | {%- load_yaml as syndic_defaults %} | ||||
Debian: | Debian: | ||||
service: salt-syndic | |||||
pkgs: | pkgs: | ||||
- salt-syndic | - salt-syndic | ||||
RedHat: | RedHat: | ||||
service: salt-syndic | |||||
pkgs: | pkgs: | ||||
- salt-syndic | - salt-syndic | ||||
{%- endload %} | {%- endload %} |
- template: jinja | - template: jinja | ||||
- watch_in: | - watch_in: | ||||
- service: salt_master_service | - service: salt_master_service | ||||
- service: salt_syndic_service | |||||
{%- endif %} | |||||
salt_syndic_service: | |||||
service.running: | |||||
- name: {{ syndic.service }} | |||||
- enable: true | |||||
{%- endif %} |