mirror of
https://github.com/saltstack-formulas/salt-formula.git
synced 2024-11-28 05:07:54 +01:00
a6667cdb81
Moved package_table to it's own file, imported by sls files Moved minion package under watch Fixed some template mistakes I made
15 lines
338 B
Plaintext
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
|