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

proxy (1) Versions 1.0.0

Sets up instances for proxying traffic

Berkshelf/Librarian
Policyfile
Knife
cookbook 'proxy', '~> 1.0.0'
cookbook 'proxy', '~> 1.0.0', :supermarket
knife cookbook site install proxy
knife cookbook site download proxy
README
Dependencies
Quality 33%

Chef Proxy cookbook

A cookbook for managing /etc/hosts. Wraps around the Opscode HAproxy cookbook (https://github.com/opscode-cookbooks/haproxy)

Use cases

We use this cookbook to trick service instances into sending traffic meant for external / third-party services through a proxy instance we control. The proxy instance runs HAproxy, while the service instances have their /etc/hosts modified to route endpoint traffic towards this proxy. This lets us more easily manage egress traffic.

Recipes

Default

Calls the Server recipe

Server

Configures an instance to route traffic via HAproxy

Client

Configures an instance to send traffic destined for a host to go through a proxy instance via the node[:proxy][:host] attribute.

Resources

proxy_host

This resource creates, modifies, or deletes an /etc/hosts entry using either the :create (default) or :delete action. Includes the following parameters:

  • remote_host : the endpoint of the traffic (name attribute)
  • ipaddr : IP address to proxy the traffic through (optional)
  • comment : Comment for extra information appended to the entry (optional)
  • action : One of :create (default) or :delete

Author

Simple Finance ops@simple.com

License

Apache License, Version 2.0

Dependent cookbooks

haproxy >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

1.0.0 failed this metric

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

Contributing File Metric
            

1.0.0 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
            

1.0.0 failed this metric

FC059: LWRP provider does not declare use_inline_resources: proxy/providers/host.rb:1
FC064: Ensure issues_url is set in metadata: proxy/metadata.rb:1
FC065: Ensure source_url is set in metadata: proxy/metadata.rb:1
FC066: Ensure chef_version is set in metadata: proxy/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: proxy/metadata.rb:1
FC069: Ensure standardized license defined in metadata: proxy/metadata.rb:1
FC074: LWRP should use DSL to define resource's default action: proxy/resources/host.rb:1
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

1.0.0 passed this metric

No Binaries Metric
            

1.0.0 passed this metric

Publish Metric
            

1.0.0 passed this metric

Supported Platforms Metric
            

1.0.0 failed this metric

proxy should declare what platform(s) it supports.

Testing File Metric
            

1.0.0 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
            

1.0.0 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 include a tag that matches this cookbook version number