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

rancher (2) Versions 0.1.1

Installs/Configures rancher

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

rancher

Installs Rancher

attributes

documentation for attributes is inline at: attributes/default.rb

recipes

server.rb

Installs Rancher labs server.

Run this on your primary node.

agent.rb

Installs Rancher labs agent.

Run this on all nodes.

Usage

Kitchen

This is mostly used for cookbook development and testing:

$ kitchen converge ubuntu
$ curl localhost:8080

Chef-Provisioning

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.

Vagrant

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

$ rake berks
$ 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.sh run"       4 minutes ago       Up 4 minutes                            rancher-agent

to cleanup the VMs run:

$ rake destroy_machines

Development

Publish Cookbook to Supermarket

$ rake publish

Dependent cookbooks

chef-sugar ~> 3.1.0
docker ~> 0.37.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 passed this metric

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 failed this metric

rancher should declare what platform(s) it supports.

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