From the course: Puppet Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Configure a webhook in GitHub

Configure a webhook in GitHub - Puppet Tutorial

From the course: Puppet Essential Training

Start my 1-month free trial

Configure a webhook in GitHub

- [Instructor] Now that we've set up the WebHook on our public server, we'll need to configure GitHub to trigger it. To start, click on Settings, and then WebHooks. And you'll click Add WebHook. For the Payload URL, type http://puppet:puppet, an @ symbol, and then the URL for your server. Now I'm using ngrok to forward the port as well. So, I don't have to type a port number here, but if you just start hosting your puppet server directly on the internet, you'll type :8088. After the port, type slash and payload, and that's it. Scroll down to the bottom and click Add WebHook. You'll notice a green check-mark. That means GitHub was able to successfully connect to my WebHook. Now, whenever you make a change in the GitHub editor or push changes to repo, they'll immediately be pushed to your master.

Contents