]> gitweb.fluxo.info Git - hydra.git/commitdiff
Deploy: fix secrets folder creation
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 19 Oct 2015 17:26:05 +0000 (15:26 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 19 Oct 2015 17:26:05 +0000 (15:26 -0200)
lib/hydra/deploy

index 2988af428e3b13576dce9ae509b2178955afe1da..4571c24278512fbbac878b115d8f524fae9b9cbe 100644 (file)
@@ -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/