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