diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-06-16 16:49:49 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-06-16 16:49:49 -0300 |
commit | 30feab01123c6cf77dd980b026ad045cba9c9d8a (patch) | |
tree | a3e514d87d4210663dc3faf07bc3bf9066e7059b | |
parent | 405ddbb6c0228c9e21dae9c542db8ef5a1ed49ca (diff) | |
download | hydra-30feab01123c6cf77dd980b026ad045cba9c9d8a.tar.gz hydra-30feab01123c6cf77dd980b026ad045cba9c9d8a.tar.bz2 |
Deploy: fix /etc/puppet permissions
-rw-r--r-- | doc/todo.rst | 1 | ||||
-rw-r--r-- | lib/hydra/deploy | 3 |
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 |