Removing unneeded status check before juju deployer

This commit is contained in:
Matt Bruzek 2015-04-22 14:45:50 -05:00
parent 450f1f0215
commit b4766bb380

View File

@ -40,15 +40,9 @@ function kube-up() {
else else
juju quickstart --no-browser juju quickstart --no-browser
fi fi
# If something were to happen that I'm not accounting for, do not # The juju-deployer command will deploy the bundle and can be run
# punish the user by making them tear things down. In a perfect world # multiple times to continue deploying the parts that fail.
# quickstart should handle this situation, so be nice in the meantime juju deployer -c ${KUBE_BUNDLE_PATH}
local envstatus
envstatus=$(juju status kubernetes-master --format=oneline)
if [[ "" == "${envstatus}" ]]; then
juju deployer -c ${KUBE_BUNDLE_PATH}
fi
# Sleep due to juju bug http://pad.lv/1432759 # Sleep due to juju bug http://pad.lv/1432759
sleep-status sleep-status
detect-master detect-master