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

Knife-verschart Knife Plugin

Knife Plug-in to print a chart of all cookbooks and the version constraints contained in each environment.
Also highlights which cookbook versions are frozen, which constraints are 'behind' the latest version, and if any constraints are obsolete (i.e. cookbook does not exist).

Out put can be either to the console, or in html format.

Install & Usage Instructions

Installation and Config

gem install knife-verschart
- or -
Place the Verschart.rb file in your knife plugins directory.

See "knife.rb" below for optional configuration.

USE

Command Line:

knife verschart [--primary environment[,environment,...]][-o | --env_order environment[,environment,...]][--html][--cbselect cookbook[,cookbook,...]]
     --primary environment[,environment,...]  A comma-separated list of environments to be considered primary. Versions which are NOT frozen willl be highlighted red.
     -o, --env_order env[,env,....]  A comma-separated list of environments to establish an display order. Any existing environments not included in this list will be added at the end
     --cbselect cookbook[,cookbook,....]  A comma-separated list of cookbooks to list.  Each entry in the list is treated as a regex when comparing the cookbook name.
     --html  Output formatted as an html table.

knife.rb

knife[:primary] = "PRODUCTION"   - Sets the primary environment(s)
knife[:envorder] = "Sandbox,Dev,Dev2,IT,Staging,PRODUCTION"    - Sets the environment display order.

Output will look something like this (with colors where applicable):

Showing Versions for chef01.example.com

Version numbers in the Latest column in teal are frozen
Version numbers in the PRODUCTION Environment(s) which are NOT frozen will be red.
Version numbers which are different from the Latest, will be in blue
Requested Environment order is ["Sandbox", "Dev", "Dev2", "IT", "Staging", "PRODUCTION"]


Cookbooks       Latest      Sandbox   Dev       IT        Staging   PRODUCTION
cron            1.2.8       <= 1.2.8  <= 1.2.8  <= 1.2.8  <= 1.2.8  <= 1.2.8 
hostsfile       2.4.4       <= 2.4.4  <= 2.4.4  <= 2.4.4  <= 2.4.4  <= 2.4.4
line            0.5.1       <= 0.5.1  <= 0.5.1  <= 0.5.1  <= 0.5.1  <= 0.5.1
log_rotations   0.0.1       <= 0.0.1  <= 0.0.1  X        X         X
logrotate       1.4.0       <= 1.4.0  <= 1.4.0  <= 1.4.0  <= 1.4.0  <= 1.4.0 
netgroup        0.1.0       <= 0.1.0  <= 0.1.0  <= 0.1.0  <= 0.1.0  <= 0.1.0 
ohai            1.1.12      <= 1.1.12 <= 1.1.12 <= 1.1.12 <= 1.1.12 <= 1.1.12 
ssh             0.6.5       <= 0.6.5  <= 0.6.5  <= 0.6.5  <= 0.6.5  <= 0.6.5 
ssh-keys        1.0.0       <= 1.0.0  <= 1.0.0  <= 1.0.0  <= 1.0.0  <= 1.0.0 
yum             3.1.4       <= 3.1.4  <= 3.1.4  <= 3.1.4  <= 3.1.4  <= 3.1.4 

Obsolete Version constraints are listed below

Sandbox
-- apache   <= 3.2.1