Skip to content
Example resource cookbook with integration tests in Inspec.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
libraries
resources
spec
test
.gitignore
.kitchen.yml
.rspec
.travis.yml
Berksfile
CHANGELOG.md
Gemfile
README.md
chefignore
metadata.rb

README.md

example_resources

Build Status Cookbook Version

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

The purpose of this cookbook is to illustrate the relationship between a cookbook that defines a new Chef resource, and another cookbook that consumes it.

This is a simple resource cookbook that defines a Chef resource. I wrote another cookbook called example, which consumes the resource defined here.

To test

This cookbook was tested most recently with ChefDK v0.17.17. It should work with ChefDK v0.12.0 or higher.

If you're using ChefDK ~> 0.11, look at v1.0.7 of this cookbook for instructions on testing.

$ kitchen verify

Development

Author

Created and maintained by Kevin Dickerson of Loom. kevin.dickerson@loom.technology.

You can’t perform that action at this time.