aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-02-20 15:20:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-02-20 15:20:42 -0300
commiteaf85de9fad3a21044512a1a739e5356e4c6bf7d (patch)
treecd892a7afb96ee399e9d2e926af6951fdc4667fb /lib
parent192c50775776887bfc16cb64dc5e4d6cbc25abd6 (diff)
downloadhydra-eaf85de9fad3a21044512a1a739e5356e4c6bf7d.tar.gz
hydra-eaf85de9fad3a21044512a1a739e5356e4c6bf7d.tar.bz2
Use FQDN for deployment
Diffstat (limited to 'lib')
-rw-r--r--lib/hydra/deploy4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/hydra/deploy b/lib/hydra/deploy
index 483bf54..dd26199 100644
--- a/lib/hydra/deploy
+++ b/lib/hydra/deploy
@@ -31,8 +31,8 @@ function hydra_deploy_setup {
fi
DEPLOY_BASE="/etc"
- DEPLOY_COMMAND="$HYDRA_CONNECT $NODE sudo"
- DEPLOY_OPTS="$HYDRA_FOLDER/puppet/ $NODE:/etc/puppet/"
+ DEPLOY_COMMAND="$HYDRA_CONNECT $FQDN sudo"
+ DEPLOY_OPTS="$HYDRA_FOLDER/puppet/ $FQDN:/etc/puppet/"
DEPLOY_DEST="$FQDN:"
RSYNC_PATH="sudo rsync -q"
REMOTE_ENV="LC_ALL=C"