2015-03-17 05:39:32 +01:00
|
|
|
{% from "salt/map.jinja" import salt_settings with context %}
|
2014-07-20 17:05:53 +02:00
|
|
|
|
|
|
|
include:
|
|
|
|
- salt.master
|
|
|
|
|
|
|
|
salt-syndic:
|
|
|
|
pkg.installed:
|
2015-03-17 05:39:32 +01:00
|
|
|
- name: {{ salt_settings.salt_syndic }}
|
2014-07-20 17:05:53 +02:00
|
|
|
service:
|
|
|
|
- running
|
|
|
|
- require:
|
2015-03-17 05:39:32 +01:00
|
|
|
- service: {{ salt_settings.syndic_service }}
|
2014-07-20 17:05:53 +02:00
|
|
|
- watch:
|
|
|
|
- pkg: salt-master
|
2015-03-17 05:39:32 +01:00
|
|
|
- file: {{ salt_settings.config_path }}/master
|