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

example_resources (13) Versions 1.0.1

Provider cookbook that defines an example Chef resource. Integration tests in InSpec.

Policyfile
Berkshelf
Knife
cookbook 'example_resources', '= 1.0.1', :supermarket
cookbook 'example_resources', '= 1.0.1'
knife supermarket install example_resources
knife supermarket download example_resources
README
Dependencies
Changelog
Quality 100%

example_resources

Build Status

This is a resource cookbook that demonstrates how to use InSpec for integration testing.

To test

  1. Install bundled gems using Bundler in context of ChefDK
  2. Converge in context of Bundler and ChefDK
  3. Verify in context of Bundler and ChefDK
$ chef exec bundle install
$ chef exec bundle exec kitchen converge
$ chef exec bundle exec kitchen verify

Gemfile

Note how I lock gem versions using the Gemfile. Run your tests in the context of these Gemfile locks, otherwise you will likely see errors [at the time of this writing].

$ bundle exec kitchen list

Prerequisites

You probably want the latest ChefDK.

Changelog

This file tracks and describes changes to example_resources.

This project adheres to semantic versioning 2.0.

v1.0.0 (2016-03-17)

  • Refactor name from example_resource_cookbook to example_resources

v0.1.0 (2016-03-16)

  • Creates example_resource
  • Creates test cookbook
  • Supports Centos

Foodcritic Metric
            

1.0.1 passed this metric