New Saltstack Salt formula
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.
|
- {%- from "salt/map.jinja" import syndic with context %}
- {%- if syndic.enabled %}
-
- include:
- - salt.master.service
-
- salt_syndic_packages:
- pkg.installed:
- - names: {{ syndic.pkgs }}
-
- /etc/salt/master.d/_syndic.conf:
- file.managed:
- - source: salt://salt/files/_syndic.conf
- - user: root
- - template: jinja
- - watch_in:
- - service: salt_master_service
- - service: salt_syndic_service
-
- salt_syndic_service:
- service.running:
- - name: {{ syndic.service }}
- - enable: true
-
- {%- endif %}
|