Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

ngrokd (1) Versions 0.1.1

Installs/Configures ngrokd

Berkshelf/Librarian
Policyfile
Knife
cookbook 'ngrokd', '~> 0.1.1'
cookbook 'ngrokd', '~> 0.1.1', :supermarket
knife cookbook site install ngrokd
knife cookbook site download ngrokd
README
Dependencies
Quality 56%

ngrokd-cookbook

Build Status

Chef cookbook to install, configure and run ngrokd.

Currently uses citadel to transfer secrets.

At this time only supports Ubuntu 14.04 - let me know if you want another platform - PRs welcome.

Attributes

Attributes and their default values:

node['ngrokd']['domain'] = nil # required. Server's domain.
node['ngrokd']['path'] = '/etc/ngrokd' # path to store tls crt/key in
node['ngrokd']['tlskey'] = 'tls.key' # name of tls private key on disk
node['ngrokd']['tlscrt'] = 'tls.crt' # name of tls certificate on disk
node['ngrokd']['log'] = '/var/log/ngrokd.log' # path for ngrok to log to. stdout and none are also valid.

node['ngrokd']['domain'] is the only setting that needs to be modified - if your domain is example.com then in DNS example.com and *.example.com should be A records for the server IP.

Secrets

A SSL certificate and matching private key are required. These are stored in an Amazon S3 bucket and retrieved via Citadel, as such IAM Roles (if running the server in EC2) or AWS credentials are required. Bucket should also be specified. See Citadel's docs for more information.

Usage

ngrokd::default

Include ngrokd in your node's run_list:

{
  "run_list": [
    "recipe[ngrokd::default]"
  ]
}

This will install ngrokd from Ubuntu package. Download and place ssl key/crt into place. It will create and launch an Upstart script to keep ngrokd running on boot.

Vagrant

A working Vagrantfile is included, check this to see the minimum viable now-AWS attributes required.

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request

License and Authors

Author:: Robert Coleman (github@robert.net.nz)

Dependent cookbooks

citadel >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.1 failed this metric

FC064: Ensure issues_url is set in metadata: ngrokd/metadata.rb:1
FC065: Ensure source_url is set in metadata: ngrokd/metadata.rb:1
FC066: Ensure chef_version is set in metadata: ngrokd/metadata.rb:1
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

0.1.1 passed this metric

No Binaries Metric
            

0.1.1 passed this metric

Publish Metric
            

0.1.1 passed this metric

Supported Platforms Metric
            

0.1.1 passed this metric

Testing File Metric
            

0.1.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.1.1 passed this metric