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