From 8fe43d6d5642116e03f77308e4dedee4e41bdc61 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Wed, 2 Dec 2020 13:35:57 -0500 Subject: [PATCH] [fix] Print WARNING instead of ERROR if minion is not responding initially --- setup/so-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-functions b/setup/so-functions index 9cf01d74c..98fd50bf3 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -284,7 +284,7 @@ check_salt_master_status() { check_salt_minion_status() { echo "Checking if the salt minion will respond to jobs" >> "$setup_log" 2>&1 - salt "$MINION_ID" test.ping >> "$setup_log" 2>&1 + salt "$MINION_ID" test.ping | sed 's/ERROR/WARNING/' >> "$setup_log" 2>&1 local status=$? if [ $status -gt 0 ]; then return 1;