paulbsd-salt/states/salt_minion/config.sls
Paul 1d64605559
All checks were successful
continuous-integration/drone/push Build is passing
updated salt_minion state
2024-09-08 15:08:44 +02:00

18 lines
418 B
Plaintext

---
{%- from "salt_minion/map.jinja" import salt_minion with context %}
salt-minion-config:
file.managed:
- name: /etc/salt/minion
- source: salt://salt_minion/templates/minion.j2
- user: root
- group: root
- mode: 640
- template: jinja
salt-minion-reload:
cron.present:
- name: "{{ salt_minion.reload_cmd }}"
- identifier: salt-minion-reload
- user: root
- minute: '*/30'