From: Silvio Rhatto Date: Sat, 23 Jun 2012 19:08:30 +0000 (-0300) Subject: Avoid reparsing of puppet config by just fixing perms if needed X-Git-Tag: 0.1~134 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=00ac0f8dcd83209f4ff2629bb04aa16af748832b;p=hydra.git Avoid reparsing of puppet config by just fixing perms if needed --- diff --git a/share/hydractl/puppet-update b/share/hydractl/puppet-update index 378ae3f..bd56997 100755 --- a/share/hydractl/puppet-update +++ b/share/hydractl/puppet-update @@ -18,7 +18,9 @@ if [ -x '/usr/local/sbin/update-puppet-conf.sh' ]; then /usr/local/sbin/update-puppet-conf.sh - chown -R puppet.puppet /etc/puppet + + # Avoid reparsing of puppet config by just fixing perms if needed. + chown --from=root:root -R puppet.puppet /etc/puppet else echo "Could not find /usr/local/sbin/update-puppet-conf.sh" exit 1