aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-10-19 13:24:33 -0200
committerSilvio Rhatto <rhatto@riseup.net>2015-10-19 13:24:33 -0200
commit7fe06088632486f1c7f349cc4d43a6aa5ce57ed3 (patch)
tree901e45746e40506b57f09dbb14cb52a5c821b928 /lib
parent8b9c9827522a28d197c543faca52cdb6ea238d81 (diff)
downloadhydra-7fe06088632486f1c7f349cc4d43a6aa5ce57ed3.tar.gz
hydra-7fe06088632486f1c7f349cc4d43a6aa5ce57ed3.tar.bz2
Misc fixes (2)
Diffstat (limited to 'lib')
-rw-r--r--lib/hydra/deploy6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/hydra/deploy b/lib/hydra/deploy
index 928aecc..9fdb9e8 100644
--- a/lib/hydra/deploy
+++ b/lib/hydra/deploy
@@ -11,7 +11,7 @@ function hydra_deploy_setup {
if [ ! -z "$2" ]; then
NODE="$2"
DEPLOY_COMMAND="$HYDRA_CONNECT $NODE sudo"
- DEPLOY_RSYNC="$DEPLOY_RSYNC --rsync-path \"sudo rsync\" $HYDRA_FOLDER/puppet/ $NODE:/etc/puppet/"
+ DEPLOY_RSYNC="$DEPLOY_RSYNC --rsync-path 'sudo rsync' $HYDRA_FOLDER/puppet/ $NODE:/etc/puppet/"
FQDN="`$DEPLOY_COMMAND facter fqdn`"
DEPLOY_DEST="$FQDN:"
DEPLOY_COPY="$DEPLOY_RSYNC"
@@ -53,8 +53,8 @@ function hydra_deploy_setup {
# Common parameters
DOMAIN="`echo $FQDN | cut -d . -f 2-`"
- ROLE="`hydra_yaml_param nodo::role $HYDRA_FOLDER/puppet/hiera/$DOMAIN/$FQDN.yaml`"
- LOCATION="`hydra_yaml_param nodo::location $HYDRA_FOLDER/puppet/hiera/$DOMAIN/$FQDN.yaml`"
+ ROLE="`hydra_yaml_param nodo::role $HYDRA_FOLDER/puppet/hiera/node/$FQDN.yaml`"
+ LOCATION="`hydra_yaml_param nodo::location $HYDRA_FOLDER/puppet/hiera/node/$FQDN.yaml`"
DEPLOY_PUPPET="puppet apply $PUPPET_OPTS $PUPPET_MANIFEST"
DEPLOY_APPLY="$DEPLOY_COMMAND $DEPLOY_PUPPET"