gabe-ngrok module.
It covers installing the module, configuring your authtoken, and declaring tunnels.
What you’ll need
- Puppet installed. See Installing Puppet.
- An ngrok account.
- Your ngrok authtoken.
Configure ngrok and declare a tunnel
Configure the To expose a raw TCP port instead, keep the
ngrok class with your authtoken, then declare at least one ngrok::tunnel resource.
Currently ngrok requires an authtoken for every endpoint, so set it even when you only tunnel HTTP.For example, declare a single HTTP tunnel to port 80:ngrok class declaration above and set proto to tcp on the tunnel: