check salt-master is responding

This commit is contained in:
m0duspwnens
2021-05-07 12:47:22 -04:00
parent d0e084b8ea
commit 009f7617c1

View File

@@ -834,6 +834,10 @@ else
echo ""
echo "Starting Salt Master service."
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"
echo "Running a highstate. This could take several minutes."
salt-call state.highstate -l info queue=True
postupgrade_changes