]> gitweb.fluxo.info Git - hydra.git/commitdiff
Avoid reparsing of puppet config by just fixing perms if needed (2)
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 23 Jun 2012 20:14:58 +0000 (17:14 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 23 Jun 2012 20:14:58 +0000 (17:14 -0300)
share/hydractl/puppet-update

index bd569971435fa94bcef20437d55ccc6facd6d444..afbd727b1665a65be1428541950e9490baee4fd8 100755 (executable)
@@ -20,7 +20,8 @@ if [ -x '/usr/local/sbin/update-puppet-conf.sh' ]; then
   /usr/local/sbin/update-puppet-conf.sh
 
   # Avoid reparsing of puppet config by just fixing perms if needed.
-  chown --from=root:root -R puppet.puppet /etc/puppet
+  chown --from=root:root -R puppet.puppet /etc/puppet/*
+  chown --from=root:root -R puppet.puppet /etc/puppet/.*
 else
   echo "Could not find /usr/local/sbin/update-puppet-conf.sh"
   exit 1