]> gitweb.fluxo.info Git - hydra.git/commitdiff
Deploy: fix /etc/puppet permissions
authorSilvio Rhatto <rhatto@riseup.net>
Thu, 16 Jun 2016 19:49:49 +0000 (16:49 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Thu, 16 Jun 2016 19:49:49 +0000 (16:49 -0300)
doc/todo.rst
lib/hydra/deploy

index 21246c07050921af5a03fe20ff3da3d35a2ba11d..504248efda2ed5044f06887cc910a61b1474c217 100644 (file)
@@ -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).
index 70a8a67fab5b8ca1b9059546676b766a4f0d1e1e..748263c69d13924400a84c077a1c414d65255472 100644 (file)
@@ -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