summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/todo.rst1
-rw-r--r--lib/hydra/deploy3
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/todo.rst b/doc/todo.rst
index 21246c0..504248e 100644
--- a/doc/todo.rst
+++ b/doc/todo.rst
@@ -9,6 +9,5 @@ TODO
- fact collection.
- lockfile.
- keys and certs.
- - fix /etc/puppet permissions.
- check hostname and required node configuration.
- log applied version and date (in the node and so in the repo).
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