cookbook 'example_library', '= 0.1.0'
example_library (3) Versions 0.1.0 Follow0
Provider cookbook that defines an example Chef library cookbook. Integration tests in InSpec.
cookbook 'example_library', '= 0.1.0', :supermarket
knife supermarket install example_library
knife supermarket download example_library
example_library
This is a library cookbook that demonstrates how to use InSpec for integration testing. It's a library cookbook because it defines resources as LWRPs in the /libraries directory. These resources are compatible with Chef 12.5 or higher, but are still declared without using the new resource style introduced in Chef 12.5.
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.
To test
Install ChefDK 0.12.0 or higher. (Test Kitchen 1.6.0 or higher is required. Test Kitchen 1.6.0 is bundled with 0.12.0 or higher.)
$ kitchen verify
Development
Author
Created and maintained by Kevin Dickerson, kevin.dickerson@loom.technology.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Changelog
This file tracks and describes changes to example_library
.
This project adheres to semantic versioning 2.0.
v0.1.0 (04/04/2016)
- Creates
example_library
, demonstrating a library cookbook subclassing LWRPBase for its resource declarations
Foodcritic Metric
0.1.0 passed this metric
0.1.0 passed this metric