paulbsd-salt/states/salt_minion/config.sls
Paul f96c06b48b
All checks were successful
continuous-integration/drone/push Build is passing
updated salt_minion state
2024-09-01 15:19:53 +02:00

17 lines
407 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: "for i in $(pgrep salt-minion); do kill -HUP $i; break; done"
- user: root
- minute: 5