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 supermarket mailing list.

Select Badges

Select Supported Platforms


baragon (10) Versions 5.0.0

Installs/Configures baragon

cookbook 'baragon', '~> 5.0.0'
cookbook 'baragon', '~> 5.0.0', :supermarket
knife cookbook site install baragon
knife cookbook site download baragon


Installs Baragon (service or agent) on a node. Baragon is the loadbalancer management service for HubSpot's Singularity cluster management system.

Supported Platforms

Tested on an extensive range of platforms including Ubuntu 14.04 and nothing else.



Baragon depends on ZooKeeper to store internal state, and perform coordination between multiple BaragonService instances if high availability is desired. Using an existing Zookeeper cluster is totally fine if you happen to have one. Separate Baragon installations can also share the same Zookeeper cluster, provided they use different zkNamespace values.


Baragon writes nginx-style config files by default. In theory other load balancers could be used, but the tool is designed around the style of config files used by nginx.

The main requirement is that each application and upstream has its own file containing all necessary configuration directives (as opposed to, say, haproxy, where all configuration is parsed in order from top to bottom from a single, monolithic file).


<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>['baragon']['group_name']</tt></td> <td>String</td> <td>Load Balancer Group Name</td> <td><tt>default</tt></td> </tr> <tr> <td><tt>['baragon']['proxy_conf_dir']</tt></td> <td>String</td> <td>Directory where the proxy config files are placed</td> <td><tt>/tmp</tt></td> </tr> <tr> <td><tt>['baragon']['upstream_conf_dir']</tt></td> <td>String</td> <td>Directory where the upstream config files are placed</td> <td>Value of <tt>node['baragon']['proxy_conf_dir']</tt></td> </tr> <tr> <td><tt>['baragon']['server_port']</tt></td> <td>Integer</td> <td>Baragon service listener port</td> <td><tt>8080</tt></td> </tr> </table>



Include baragon::server in your node's run_list:

  "run_list": [

…or in a wrapper cookbook:

include_recipe 'baragon::server'


Include baragon::agent in your node's run_list:

  "run_list": [

…or in a wrapper cookbook:

include_recipe 'baragon::agent'

License and Authors

Author:: EverTrue, Inc. (

Dependent cookbooks

compat_resource ~> 12.5
magic ~> 1.1
maven >= 0.0.0
logrotate >= 0.0.0
git >= 0.0.0
java >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric

5.0.0 failed this metric

FC003: Check whether you are running with chef server before using server-specific features: /tmp/207a81ce89a1825f265adba8/baragon/recipes/common.rb:33

Collaborator Number Metric

5.0.0 passed this metric