0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-11-28 07:18:02 +01:00
salt-formula/salt/syndic.sls
Niels Abspoel 896578a75a Removed package_map lookup
Added map.jinja solution more in line with other formulas,
This also improves issue #30

and pull request #30
2014-12-31 11:52:31 +01:00

16 lines
355 B
Plaintext

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