From 51c9eb050833f6927988fcd9465dc67e4c2bd4cf Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 24 Jan 2013 15:36:21 -0200 Subject: Implementing post-update hook --- files/post-update.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'files/post-update.sh') diff --git a/files/post-update.sh b/files/post-update.sh index 21030b1..2d266a3 100644 --- a/files/post-update.sh +++ b/files/post-update.sh @@ -13,8 +13,7 @@ cd $PUPPET_DIR lockfile ~/puppet.lock # call external SUID script that will update PUPPET_DIR -sudo -u puppet /usr/local/sbin/update-puppet-conf.sh \ - || echo "Updating puppet failed. Fix it manually." +/usr/local/sbin/update-puppet-conf.sh || echo "Updating puppet failed. Fix it manually." # remove lock rm -f ~/puppet.lock -- cgit v1.2.3