diff options
-rwxr-xr-x | share/hydra/deploy | 2 |
1 files changed, 1 insertions, 1 deletions
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 |