Merge pull request #279 from brendandburns/tools

Add some extra validation and checking to the local cluster setup.
This commit is contained in:
Daniel Smith 2014-06-27 22:05:55 -07:00
commit 0acb577884

View File

@ -23,6 +23,12 @@ if [ "$(which etcd)" == "" ]; then
exit 1
fi
docker ps 2> /dev/null 1> /dev/null
if [ "$?" != "0" ]; then
echo "Failed to successfully run 'docker ps', please verify that docker is installed and \$DOCKER_HOST is set correctly."
exit 1
fi
# Stop right away if the build fails
set -e