2
0
salt-formula/salt/minion.sls
Seth House 1682df8592 Merge remote-tracking branch 'origin/pr/47'
Conflicts:
	salt/master.sls
	salt/minion.sls
2014-10-09 16:39:07 -06:00

17 lines
453 B
Plaintext

{% from "salt/package-map.jinja" import pkgs with context %}
salt-minion:
pkg.installed:
- name: {{ pkgs['salt-minion'] }}
file.recurse:
- name: {{ pkgs.get('config-path', '/etc/salt') }}/minion.d
- template: jinja
- source: salt://salt/files/minion.d
- clean: True
service.running:
- enable: True
- name: {{ pkgs.get('minion-service', 'salt-minion') }}
- watch:
- pkg: salt-minion
- file: salt-minion