From 00ac0f8dcd83209f4ff2629bb04aa16af748832b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 23 Jun 2012 16:08:30 -0300 Subject: Avoid reparsing of puppet config by just fixing perms if needed --- share/hydractl/puppet-update | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'share/hydractl/puppet-update') 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 -- cgit v1.2.3