From 42c1e817fedb89da8add5cd4b83706474f4a7cb1 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Thu, 13 Aug 2020 18:09:57 -0400 Subject: [PATCH] more logging and debugging --- setup/so-functions | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup/so-functions b/setup/so-functions index 480c86604..162c0e82b 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -1373,7 +1373,8 @@ saltify() { check_service_status() { local service_name=$1 - systemctl status $service_name > /dev/null 2>&1 + echo "Checking service $service_name status" >> "$setup_log" 2>&1 + systemctl status $service_name >> "$setup_log" 2>&1 local status=$? #true service is running false if not if [ $status -gt 0 ]; then @@ -1454,6 +1455,9 @@ salt_checkin() { ((LOOP_COUNT+=1)) done + systemctl status salt-master; + systemctl status salt-minion; + echo " Confirming existence of the CA certificate" cat /etc/pki/ca.crt echo " Applyng a mine hack";