aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-24 12:38:44 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-24 12:38:44 -0300
commit22a5da3bb6931d28ad47acb52ff28e0246e3364a (patch)
tree0cac3664aebb47ba07a31df2b9fa9396f8d086ad /lib
parentf640a7c815f15f5105670c897edf7f020cdc535f (diff)
downloadhydra-22a5da3bb6931d28ad47acb52ff28e0246e3364a.tar.gz
hydra-22a5da3bb6931d28ad47acb52ff28e0246e3364a.tar.bz2
Deploy: fqdn check fix
Diffstat (limited to 'lib')
-rw-r--r--lib/hydra/deploy2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hydra/deploy b/lib/hydra/deploy
index ceacc3e..333f183 100644
--- a/lib/hydra/deploy
+++ b/lib/hydra/deploy
@@ -25,7 +25,7 @@ function hydra_deploy_setup {
FQDN="$(basename `find $HYDRA_FOLDER/puppet/config/node/ -name $NODE'.*' | head -n 1` .yaml)"
# Check for config/node name
- if [ -z "$FQDN" ]; then
+ if [ "$FQDN" == ".yaml" ]; then
echo "Cannot find config for $NODE."
exit 1
fi