aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/puppet-update
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-06-23 17:14:58 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-06-23 17:14:58 -0300
commitb113fdd909995127ab626406dd0de75f8d4c0670 (patch)
tree5a66f936e25874460c60aa621fbe108b58c408a4 /share/hydractl/puppet-update
parent2bb8c166cb75cfda6a5a7aa3aec06b07f79884db (diff)
downloadhydra-b113fdd909995127ab626406dd0de75f8d4c0670.tar.gz
hydra-b113fdd909995127ab626406dd0de75f8d4c0670.tar.bz2
Avoid reparsing of puppet config by just fixing perms if needed (2)
Diffstat (limited to 'share/hydractl/puppet-update')
-rwxr-xr-xshare/hydractl/puppet-update3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydractl/puppet-update b/share/hydractl/puppet-update
index bd56997..afbd727 100755
--- a/share/hydractl/puppet-update
+++ b/share/hydractl/puppet-update
@@ -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