aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-16 16:49:49 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-16 16:49:49 -0300
commit30feab01123c6cf77dd980b026ad045cba9c9d8a (patch)
treea3e514d87d4210663dc3faf07bc3bf9066e7059b /lib
parent405ddbb6c0228c9e21dae9c542db8ef5a1ed49ca (diff)
downloadhydra-30feab01123c6cf77dd980b026ad045cba9c9d8a.tar.gz
hydra-30feab01123c6cf77dd980b026ad045cba9c9d8a.tar.bz2
Deploy: fix /etc/puppet permissions
Diffstat (limited to 'lib')
-rw-r--r--lib/hydra/deploy3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/hydra/deploy b/lib/hydra/deploy
index 70a8a67..748263c 100644
--- a/lib/hydra/deploy
+++ b/lib/hydra/deploy
@@ -12,6 +12,9 @@ function hydra_deploy_setup {
# Ensure keystore existence
mkdir -p $HYDRA_FOLDER/puppet/keys
+ # Fix puppet folder permissions
+ chmod 700 $HYDRA_FOLDER/puppet
+
if [ "$1" == "remote" ]; then
# Deploy in a remote host
if [ ! -z "$2" ]; then