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: