00e245e20a
This allows users to easily add configuration settings that the formula doesn't yet provide, without having to modify the existing templates.
16 lines
360 B
Plaintext
16 lines
360 B
Plaintext
{% from "salt/package-map.jinja" import pkgs with context %}
|
|
|
|
salt-master:
|
|
pkg.installed:
|
|
- name: {{ pkgs['salt-master'] }}
|
|
file.recurse:
|
|
- name: /etc/salt/master.d
|
|
- template: jinja
|
|
- source: salt://salt/files/master.d
|
|
- clean: True
|
|
service.running:
|
|
- enable: True
|
|
- watch:
|
|
- pkg: salt-master
|
|
- file: salt-master
|