0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-11-28 07:18:02 +01:00
salt-formula/salt/master.sls
Kenneth Wilke a6667cdb81 Isolated package mapping and some fixes
Moved package_table to it's own file, imported by sls files
Moved minion package under watch
Fixed some template mistakes I made
2013-08-14 14:53:29 -05:00

15 lines
338 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
- template: jinja
- source: salt://salt/files/master
service.running:
- enable: True
- watch:
- pkg: salt-master
- file: salt-master