diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-05-31 09:14:01 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-05-31 09:14:01 -0300 |
commit | 3719691aadbf7710840f30278f017139ff62d144 (patch) | |
tree | 7ad56b5a753395e99175a38badfffd1b9afd1694 /share | |
parent | ff22a6d448516aaacd13a8268267bf886c2d8309 (diff) | |
download | hydra-3719691aadbf7710840f30278f017139ff62d144.tar.gz hydra-3719691aadbf7710840f30278f017139ff62d144.tar.bz2 |
Deploy: localhost fix
Diffstat (limited to 'share')
-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 |