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

RSS

cookbook_versions (4) Versions 0.4.0

Installs/Configures cookbook_versions

Policyfile
Berkshelf
Knife
cookbook 'cookbook_versions', '= 0.4.0', :supermarket
cookbook 'cookbook_versions', '= 0.4.0'
knife supermarket install cookbook_versions
knife supermarket download cookbook_versions
README
Dependencies
Quality 43%

cookbook_versions

This cookbook examines all of the cookbooks in a node's run_list and extracts the cookbook versions. These are saved into node attributes under the 'cookbook_versions' key, like so:

cookbook_versions => {
  "cookbook_versions_test": "0.1.0",
  "cookbook_versions": "0.1.0"
}

NOTE: This cookbook_versions resource should be run at the end of a chef-client run, or else recipes may modify the run_list and that won't be reflected in the node attributes.

Usage

You can use the resource directly, or include the default recipe which simply calls the resource

cookbook_versions 'whatever'

What is included

By default, cookbook_versions includes only cookbooks that have a recipe in the run_list.
This will not include cookbooks that provide resources but don't have recipes.
You can change this behavior by either using the cookbook_versions::all recipe instead of the default recipe in your run_list, or by passing the all_cookbooks true attribute to the resource:

cookbook_versions 'whatever' do
  all_cookbooks true
end

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.4.0 failed this metric

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

Contributing File Metric
            

0.4.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 http://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.4.0 passed this metric

License Metric
            

0.4.0 failed this metric

cookbook_versions does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, MIT, mit, GPL-2.0, gplv2, GPL-3.0, gplv3.

No Binaries Metric
            

0.4.0 passed this metric

Testing File Metric
            

0.4.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 http://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.4.0 passed this metric