aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/hydra/config2
-rw-r--r--lib/hydra/deploy4
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/hydra/config b/lib/hydra/config
index d1eb411..07ade8d 100644
--- a/lib/hydra/config
+++ b/lib/hydra/config
@@ -52,7 +52,7 @@ function hydra_check_preferences {
PUPPET="$HYDRA_FOLDER/puppet"
PUPPET_KEYS="$PUPPET/keys"
- export HYDRA_CONNECT="ssh -T -o ConnectTimeout=15"
+ export HYDRA_CONNECT="ssh -T -o -q ConnectTimeout=15"
}
# Load a parameter from config
diff --git a/lib/hydra/deploy b/lib/hydra/deploy
index 4571c24..47dbe62 100644
--- a/lib/hydra/deploy
+++ b/lib/hydra/deploy
@@ -107,8 +107,8 @@ function hydra_deploy_copy_secrets {
hydra_deploy_copy $location $HYDRA_FOLDER/puppet/hiera/secrets/role/$ROLE.yaml $DEPLOY_DEST/etc/puppet/hiera/secrets/role/
fi
- if [ ! -z "$NODE" ] && [ -e "$HYDRA_FOLDER/puppet/hiera/secrets/node/$NODE.yaml" ]; then
- hydra_deploy_copy $location $HYDRA_FOLDER/puppet/hiera/secrets/node/$NODE.yaml $DEPLOY_DEST/etc/puppet/hiera/secrets/node/
+ if [ ! -z "$FQDN" ] && [ -e "$HYDRA_FOLDER/puppet/hiera/secrets/node/$FQDN.yaml" ]; then
+ hydra_deploy_copy $location $HYDRA_FOLDER/puppet/hiera/secrets/node/$FQDN.yaml $DEPLOY_DEST/etc/puppet/hiera/secrets/node/
fi
}