2014-07-20 17:05:53 +02:00
|
|
|
{% from "salt/package-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') }}
|
2014-07-20 17:05:53 +02:00
|
|
|
- watch:
|
|
|
|
- pkg: salt-master
|
2014-10-02 09:20:29 +02:00
|
|
|
- file: {{ pkgs.get('config-path', '/etc/salt') }}/master
|