salt-formula/salt/master.sls

15 lines
347 B
Plaintext
Raw Normal View History

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