From f96c06b48b5ff6e4b1928618eed787c19d23cc01 Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 1 Sep 2024 15:19:53 +0200 Subject: [PATCH] updated salt_minion state --- states/salt_minion/config.sls | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/states/salt_minion/config.sls b/states/salt_minion/config.sls index 31546d8..4cb79bb 100644 --- a/states/salt_minion/config.sls +++ b/states/salt_minion/config.sls @@ -8,3 +8,9 @@ salt-minion-config: - 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