mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Add debug line and remove exit command on retry failure
This commit is contained in:
@@ -662,6 +662,7 @@ upgrade_check() {
|
||||
is_hotfix=true
|
||||
fi
|
||||
else
|
||||
echo "DEBUG: here"
|
||||
is_hotfix=false
|
||||
fi
|
||||
|
||||
@@ -889,7 +890,7 @@ else
|
||||
systemctl start salt-master
|
||||
|
||||
# Testing that that salt-master is up by checking that is it connected to itself
|
||||
retry 50 10 "salt-call state.show_top -l error" || exit 1
|
||||
retry 50 10 "salt-call state.show_top -l error"
|
||||
|
||||
echo ""
|
||||
echo "Ensuring python modules for Salt are installed and patched."
|
||||
@@ -923,7 +924,7 @@ else
|
||||
systemctl start salt-master
|
||||
|
||||
# Testing that that salt-master is up by checking that is it connected to itself
|
||||
retry 50 10 "salt-call state.show_top -l error" || exit 1
|
||||
retry 50 10 "salt-call state.show_top -l error"
|
||||
|
||||
echo "Running a highstate. This could take several minutes."
|
||||
salt-call state.highstate -l info queue=True
|
||||
|
||||
Reference in New Issue
Block a user