puppet-git-hooks icon indicating copy to clipboard operation
puppet-git-hooks copied to clipboard

post-update returns error if /usr/bin/puppet is not found

Open wesleyscottredmon opened this issue 7 years ago • 1 comments

This may vary by platform. Puppet 5 is installed into /opt/puppetlabs/bin/puppet on RHEL based distros.

wesleyscottredmon avatar Jul 23 '18 16:07 wesleyscottredmon

the same is happening in the pre-receive hook. An easy workaround is:

ln -s /opt/puppetlabs/bin/puppet /usr/bin/puppet

quinh avatar Feb 15 '19 11:02 quinh