generate_ca after salt-master and salt-minion states run

This commit is contained in:
m0duspwnens
2023-10-18 18:37:35 -04:00
parent a52ee063e5
commit 9eb682bc40
3 changed files with 14 additions and 7 deletions

View File

@@ -153,7 +153,7 @@ check_salt_master_status() {
}
check_salt_minion_status() {
local timeout=$1
local timeout="${1:-5}"
echo "Checking if the salt minion will respond to jobs" >> "$setup_log" 2>&1
salt "$MINION_ID" test.ping -t $timeout > /dev/null 2>&1
local status=$?