2
0
salt-formula/salt/syndic.sls

16 lines
355 B
Plaintext
Raw Normal View History

{% from "salt/map.jinja" import pkgs with context %}
include:
- salt.master
salt-syndic:
pkg.installed:
- name: {{ pkgs['salt-syndic'] }}
service:
- running
- require:
2014-10-02 09:20:29 +02:00
- service: {{ pkgs.get('syndic-service', 'salt-master') }}
- watch:
- pkg: salt-master
2014-10-02 09:20:29 +02:00
- file: {{ pkgs.get('config-path', '/etc/salt') }}/master