You set up a webhook to deploy code when code in your Puppet Enterprise (PE) control is updated. However, when code is updated, it isn’t deployed. You can manually deploy code with Code Manager or manually deploy it by using the webhook via your Git host. There are no errors in the file sync log on the primary server at
Version and installation information
PE version: All supported
In most cases, this issue is caused by misconfiguration of the webhook on your Git host. For example, some Git hosts set content type to
application/x-www-form-urlencoded by default, but for Code Manager requires content type to be set to
The specific steps to fix this depend on your Git host, so refer to your Git host’s documentation to check webhook configuration in the following steps.
Make sure that the content type is set to JSON. For example, for GitHub, it should be set to
Make sure that the webhook is set to trigger on a push event.
If checking and fixing your webhook configuration doesn’t solve your issue, please open a ticket with us.
How can we improve this article?
Please sign in to leave a comment.