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:
|
|
|
|
- name: /etc/salt/master
|
|
|
|
- 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
|