Merge pull request #16082 from Security-Onion-Solutions/saltthangs

add date and time to output
This commit is contained in:
Josh Patterson
2026-07-17 16:10:47 -04:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -666,7 +666,7 @@ systemctl_func() {
echo ""
echo "${echo_action^}ing $service_name service at $(date +"%T.%6N")"
systemctl $action $service_name && echo "Successfully ${echo_action}ed $service_name." || echo "Failed to $action $service_name."
systemctl $action $service_name && echo "Successfully ${echo_action}ed $service_name at $(date +"%T.%6N")." || echo "Failed to $action $service_name at $(date +"%T.%6N")."
echo ""
}
+2 -2
View File
@@ -2023,7 +2023,7 @@ main() {
enable_highstate
echo ""
echo "Running a highstate. This could take several minutes."
echo "Running a highstate at $(date +"%T.%6N"). This could take several minutes."
set +e
wait_for_salt_minion_with_restart || fail "Salt minion was not running or ready."
highstate
@@ -2037,7 +2037,7 @@ main() {
check_saltmaster_status
echo "Running a highstate to complete the Security Onion upgrade on this manager. This could take several minutes."
echo "Running a highstate at $(date +"%T.%6N") to complete the Security Onion upgrade on this manager. This could take several minutes."
wait_for_salt_minion_with_restart || fail "Salt minion was not running or ready."
# Stop long-running scripts to allow potentially updated scripts to load on the next execution.