From 3719691aadbf7710840f30278f017139ff62d144 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 31 May 2018 09:14:01 -0300 Subject: Deploy: localhost fix --- share/hydra/deploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share/hydra') 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 -- cgit v1.2.3