Commit 7afec6b2 authored by derekwaynecarr's avatar derekwaynecarr

Improve reliability of salt-minion on vagrant master

parent 61a66a95
......@@ -199,6 +199,9 @@ function verify-cluster {
local machine="master"
local -a required_daemon=("salt-master" "salt-minion" "kubelet")
local validated="1"
# This is a hack, but sometimes the salt-minion gets stuck on the master, so we just restart it
# to ensure that users never wait forever
vagrant ssh "$machine" -c "sudo systemctl restart salt-minion"
until [[ "$validated" == "0" ]]; do
validated="0"
local daemon
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment