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.
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