2
0
salt-formula/salt/master.sls
2014-10-01 18:37:09 +01:00

15 lines
352 B
Plaintext

{% from "salt/package-map.jinja" import pkgs with context %}
salt-master:
pkg.installed:
- name: {{ pkgs['salt-master'] }}
file.managed:
- name: /etc/salt/master.d/master.conf
- template: jinja
- source: salt://salt/files/master
service.running:
- enable: True
- watch:
- pkg: salt-master
- file: salt-master