salt-formula/salt/minion.sls

15 lines
352 B
Plaintext
Raw Normal View History

{% from "salt/package-map.jinja" import pkgs with context %}
2013-06-13 01:53:26 +02:00
salt-minion:
pkg.installed:
- name: {{ pkgs['salt-minion'] }}
2013-06-13 01:53:26 +02:00
file.managed:
- name: /etc/salt/minion.d/minion.conf
2013-06-13 01:53:26 +02:00
- template: jinja
- source: salt://salt/files/minion
service.running:
- enable: True
- watch:
- pkg: salt-minion
2013-06-13 01:53:26 +02:00
- file: salt-minion