From: Silvio Rhatto Date: Thu, 31 May 2018 12:14:01 +0000 (-0300) Subject: Deploy: localhost fix X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3719691aadbf7710840f30278f017139ff62d144;p=hydra.git Deploy: localhost fix --- diff --git a/share/hydra/deploy b/share/hydra/deploy index 002cc95..ec4153f 100755 --- a/share/hydra/deploy +++ b/share/hydra/deploy @@ -33,7 +33,7 @@ if [ -z "$NODES" ]; then NODES="`hydra $HYDRA nodes`" else # Check if first param is a node name, otherwise assume its a class - if [ -z "$2" ]; then + if [ -z "$2" ] && [ "$1" != "localhost" ]; then NODEFILE="$(basename `find $HYDRA_FOLDER/puppet/config/node/ -name $1'.*' | head -n 1` .yaml)" # Check for config/node name