From: Silvio Rhatto Date: Thu, 16 Jun 2016 19:49:49 +0000 (-0300) Subject: Deploy: fix /etc/puppet permissions X-Git-Tag: 0.2.4~144 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=30feab01123c6cf77dd980b026ad045cba9c9d8a;p=hydra.git Deploy: fix /etc/puppet permissions --- 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