2
0
salt-formula/salt/master.sls
2014-10-02 00:20:29 -07:00

16 lines
445 B
Plaintext

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