puppet-git-hooks
puppet-git-hooks copied to clipboard
post-update returns error if /usr/bin/puppet is not found
This may vary by platform. Puppet 5 is installed into /opt/puppetlabs/bin/puppet on RHEL based distros.
the same is happening in the pre-receive hook. An easy workaround is:
ln -s /opt/puppetlabs/bin/puppet /usr/bin/puppet