Merge pull request #16106 from Security-Onion-Solutions/reyesj2-patch-9

call highstate in soup with a retry if first fails vs bailing
This commit is contained in:
Jorge Reyes
2026-07-23 15:50:11 -05:00
committed by GitHub
+7 -1
View File
@@ -442,7 +442,13 @@ get_soup_script_hashes() {
}
highstate() {
# Run a highstate.
# Run a highstate with a retry attempt.
if salt-call state.highstate -l info queue=True; then
return 0
fi
echo "Initial highstate attempt had a problem; retrying in 30 seconds."
sleep 30
salt-call state.highstate -l info queue=True
}