]> gitweb.fluxo.info Git - hydra.git/commitdiff
Deploy: localhost: fix ssl folder ownership
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 22 Apr 2017 13:16:38 +0000 (10:16 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 22 Apr 2017 13:16:38 +0000 (10:16 -0300)
share/hydra/deploy

index d3fc51362ac81de545fa4b1676b455e253c0f507..aed00fc90d072921cbfaa01e024bc4991faeba3c 100755 (executable)
@@ -107,6 +107,9 @@ for node in $NODES; do
     echo "Applying configuration..."
     $DEPLOY_APPLY 2>&1 | \
       tee $HYDRA_FOLDER/puppet/logs/$FQDN.`date +%Y%m%d%H%M`.log
+
+    # Fix ssl folder ownership
+    $SUDO chown -R `whoami`. $HYDRA_FOLDER/puppet/ssl
   else
     echo "Deploying to $node..."