2015-01-11 19:31:05 +01:00
|
|
|
{% from "salt/map.jinja" import salt with context %}
|
2014-07-20 17:05:53 +02:00
|
|
|
|
|
|
|
include:
|
|
|
|
- salt.master
|
|
|
|
|
|
|
|
salt-syndic:
|
|
|
|
pkg.installed:
|
2015-01-11 19:31:05 +01:00
|
|
|
- name: {{ salt['salt-syndic'] }}
|
2014-07-20 17:05:53 +02:00
|
|
|
service:
|
|
|
|
- running
|
|
|
|
- require:
|
2015-01-11 19:31:05 +01:00
|
|
|
- service: {{ salt.get('syndic-service', 'salt-master') }}
|
2014-07-20 17:05:53 +02:00
|
|
|
- watch:
|
|
|
|
- pkg: salt-master
|
2015-01-11 19:31:05 +01:00
|
|
|
- file: {{ salt.get('config-path', '/etc/salt') }}/master
|