aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-04-22 10:16:38 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-04-22 10:16:38 -0300
commit47f31714fbd99d24178125d5a66768c3e1dec21f (patch)
tree481a6b5d4ba2f52b31b362d257d22d1404f4615c /share
parentff1adf417e29639d8b814db2fad6dae54d8d056e (diff)
downloadhydra-47f31714fbd99d24178125d5a66768c3e1dec21f.tar.gz
hydra-47f31714fbd99d24178125d5a66768c3e1dec21f.tar.bz2
Deploy: localhost: fix ssl folder ownership
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/deploy3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/hydra/deploy b/share/hydra/deploy
index d3fc513..aed00fc 100755
--- a/share/hydra/deploy
+++ b/share/hydra/deploy
@@ -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..."