This guide explains how to install and configure ngrok with Puppet using theDocumentation Index
Fetch the complete documentation index at: https://ngrok.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
gabe-ngrok module.
It covers installing the module, configuring your authtoken, and declaring tunnels.
What you’ll need
- Puppet installed.
- An ngrok account.
- Your ngrok authtoken.
1. Install the Puppet module
Install the module from Puppet Forge:2. Configure ngrok and declare a tunnel
Include thengrok class and declare at least one ngrok::tunnel resource.
For example, declare a single HTTP tunnel to port 80:
ngrok class with your authtoken:
3. Verify ngrok is running
After your Puppet run completes, verify ngrok is running and your tunnels are active. If you usefacter, the module provides an ngrok fact you can query: