2
0
salt-formula/salt/master.sls
Simon Lloyd cb03e885d4 Fix: pkgs is undefined
Update sls files to match name change in map.jinja.
2015-01-11 19:31:05 +01:00

17 lines
445 B
Plaintext

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