2013-08-14 21:53:29 +02:00
|
|
|
{% from "salt/package-map.jinja" import pkgs with context %}
|
|
|
|
|
2013-06-13 01:53:26 +02:00
|
|
|
salt-master:
|
|
|
|
pkg.installed:
|
2013-08-14 21:53:29 +02:00
|
|
|
- name: {{ pkgs['salt-master'] }}
|
2013-06-13 01:53:26 +02:00
|
|
|
file.managed:
|
2014-10-01 19:37:09 +02:00
|
|
|
- name: /etc/salt/master.d/master.conf
|
2013-06-13 01:53:26 +02:00
|
|
|
- template: jinja
|
|
|
|
- source: salt://salt/files/master
|
|
|
|
service.running:
|
|
|
|
- enable: True
|
|
|
|
- watch:
|
2013-08-13 00:33:02 +02:00
|
|
|
- pkg: salt-master
|
|
|
|
- file: salt-master
|