0
0
mirror of https://github.com/saltstack-formulas/salt-formula.git synced 2024-12-02 23:06:50 +01:00
salt-formula/salt/minion.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-minion:
pkg.installed:
- name: {{ pkgs['salt-minion'] }}
file.managed:
- name: /etc/salt/minion
- template: jinja
- source: salt://salt/files/minion
service.running:
- enable: True
- watch:
- pkg: salt-minion
- file: salt-minion