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 - Puppet Tutorial
From the course: Puppet Essential Training
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.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Setting up a control repo3m 42s
-
(Locked)
Review of roles and profiles2m 12s
-
(Locked)
Configure r10k3m 42s
-
(Locked)
Install a webhook6m 24s
-
(Locked)
Configure a webhook in GitHub1m 6s
-
(Locked)
Code environments2m 9s
-
(Locked)
Hiera overview2m 55s
-
(Locked)
YAML1m 48s
-
(Locked)
Encrypt Hiera data with hiera-eyaml4m 1s
-
(Locked)
Set up eyaml in control repo7m 59s
-
-
-
-
-
-