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

resource-tester (2) Versions 0.1.3

Exercises core Chef resource across platforms

Policyfile
Berkshelf
Knife
cookbook 'resource-tester', '= 0.1.3', :supermarket
cookbook 'resource-tester', '= 0.1.3'
knife supermarket install resource-tester
knife supermarket download resource-tester
README
Dependencies
Quality -%

resource-tester cookbook

Requirements

Chef 10.16.2 or higher

Motivation

With the release of 10.16.0, the community quickly found a rather serious bug.
(ticket CHEF-3547). The remote_file resource was not keeping it's
promises. After talking with Josh, I learned that there are plans to
exercise "reference" cookbooks during testing. I needed an excuse to learn minitest-chef, so I decided to
start the ultimate reference cookbook. It would exercise all the core Chef resources to make sure they
kept their basic contracts.

This cookbook is meant to act as a source of examples for writing
tests and cross platform design patterns.

Hopefully it will make it into the testing process.

Usage

cd ~/src/resource-tester
bundle exec kitchen test

Attributes

n/a (yet). Add some!

Recipes

default.rb is a monolithic recipe for now.

TODO

TONS. This is just a start. Right now, only the user, file (+cousins), and cron types are exercised.
It only works on centos.

My time to work on this is close to non-existent, so its continued
developement needs to be a community effort. Send pull requests!

The short list:
1) Add tests for packages and services
2) Refactor to be cross platform across ubuntu
3) Refactor again to work across all "supported" Chef platforms.
4) Devise a strategy for testing "through time". This is needed to
test general idempotence, long running node behavior in the face of package updates and
repo modifications, multi-phase convergence problems (see pki cookbook), etc.

Author

Author:: Sean OMeara (someara@opscode.com)

Dependent cookbooks

minitest-handler >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found