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

Select Status


rancher (2) Versions 0.1.0

Installs/Configures rancher

cookbook 'rancher', '= 0.1.0', :supermarket
cookbook 'rancher', '= 0.1.0'
knife supermarket install rancher
knife supermarket download rancher
Quality 0%


Installs Rancher


documentation for attributes is inline at: [attributes/default.rb](attributes/default.rb)



Installs Rancher labs server.

Run this on your primary node.


Installs Rancher labs agent.

Run this on all nodes.



This is mostly used for cookbook development and testing:

$ kitchen converge ubuntu
$ curl localhost:8080


Note: If you have chefdk 0.6.0 you may need to install a newer chef-provisioning gem to overcome the bug described here. To do this run chef gem install chef-provisioning.


This will create a two node rancher cluster utilizing the vagrant module for chef provisioning:

$ rake vendor_cookbooks
$ rake server agent
$ curl localhost:8080

to access the VMs you need to be in the provision/vms directory:

$ cd provision/vms
$ vagrant ssh agent
vagrant@agent:~$ sudo docker ps
CONTAINER ID        IMAGE                  COMMAND             CREATED             STATUS              PORTS               NAMES
40ce0296df02        rancher/agent:v0.7.9   "/ run"       4 minutes ago       Up 4 minutes                            rancher-agent


Publish Cookbook to Supermarket

$ rake publish

Dependent cookbooks

docker ~> 0.37.0
chef-sugar ~> 3.1.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric

0.1.0 failed this metric

FC003: Check whether you are running with chef server before using server-specific features: /tmp/cook/9108b05c45df4b116f3c77bd/rancher/recipes/agent.rb:13
FC031: Cookbook without metadata file: /tmp/cook/9108b05c45df4b116f3c77bd/rancher/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/9108b05c45df4b116f3c77bd/rancher/metadata.rb:1