[][https://community.opscode.com/cookbooks/ngrok] [][http://travis-ci.org/onbeep-cookbooks/ngrok]
Installs & configures the ngrok client program. Ngrok can be used for establishing network tunnels from the outside world to the inside world.
Chef 11+ is required. For the latest list of supported platforms please see metadata.rb
.
Attribute | Default | Required? | Description |
---|---|---|---|
auth_token |
'' |
Required | Authentication Token for ngrok.com |
tunnels |
{} |
Required | Dictionary of tunnel configurations. |
config_file |
/etc/ngrok.conf |
Default | Config file for ngrok client. |
download_site |
https://dl.ngrok.com |
Default | Site from which to download ngrok. |
zip_file |
ngrok.zip |
Default | Ngrok archive to download. |
http_proxy |
nil |
Optional | For running ngrok client behind a HTTP proxy. |
inspect_addr |
nil |
Optional | Change web inspection interface. |
server_addr |
nil |
Optional | Custom ngrok server (other than ngrok.com) |
trust_host_root_certs |
nil |
Optional | Trust custom server TLS connections |
For more information on these configuration Attributes, see https://ngrok.com/usage
- Create an ngrok account: http://ngrok.com
- Copy your ngrok auth_token to the
['ngrok']['auth_token']
Attribute. - Add an Attribute for the tunnels you'd like to establish. e.g.
{'webserver' => {'proto' => {'http+https' => '80'}}}
- Add the ngrok Cookbook in your Run List.
Greg Albrecht [email protected]
Copyright 2014 OnBeep, Inc.
Apache License, Version 2.0
See LICENSE