From: Silvio Rhatto Date: Mon, 19 Oct 2015 17:26:05 +0000 (-0200) Subject: Deploy: fix secrets folder creation X-Git-Tag: 0.2.4~261 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7486b9636e84391f1c83e82399681054d178e2a0;p=hydra.git Deploy: fix secrets folder creation --- diff --git a/lib/hydra/deploy b/lib/hydra/deploy index 2988af4..4571c24 100644 --- a/lib/hydra/deploy +++ b/lib/hydra/deploy @@ -93,7 +93,7 @@ function hydra_deploy_copy_secrets { location="remote" fi - $DEPLOY_COMMAND mkdir -p $FOLDER/etc/puppet/secrets/{domain,location,node,role} + $DEPLOY_COMMAND mkdir -p $FOLDER/etc/puppet/hiera/secrets/{domain,location,node,role} if [ ! -z "$DOMAIN" ] && [ -e "$HYDRA_FOLDER/puppet/hiera/secrets/domain/$DOMAIN.yaml" ]; then hydra_deploy_copy $location $HYDRA_FOLDER/puppet/hiera/secrets/domain/$DOMAIN.yaml $DEPLOY_DEST/etc/puppet/hiera/secrets/domain/