cookbook 'example', '~> 0.1.14'
example (15) Versions 0.1.14 Follow0
Recipe cookbook that calls Chef resources defined in a separate resource cookbook dependency. Integration tests are in InSpec.
cookbook 'example', '~> 0.1.14', :supermarket
knife supermarket install example
knife supermarket download example
example
This is a simple cookbook that depends on a resource cookbook called example_resources, which defines a simple Chef resource.
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.
Integration tests are in InSpec. Unit tests are in ChefSpec.
To verify
Verified with ChefDK v0.17.17. Should work with ChefDK v0.12.0 or higher.
If you're using ChefDK ~> 0.11, look at v0.1.4 of this cookbook for instructions on testing.
$ kitchen verify
Development
Author
Created and maintained by Kevin Dickerson of Loom. kevin.dickerson@loom.technology.
Dependent cookbooks
example_resources >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Change log
This file tracks and describes changes to example_resources
.
This project adheres to [semantic versioning 2.0][semver].
v0.1.14 - 2016-09-25
- Improves style of unit tests
- Changes readme slightly
v0.1.13 - 2016-09-25
- Improves style of unit tests
v0.1.12 - 2016-09-25
- Bumps version for Supermarket
v0.1.11 - 2016-09-25
- Fixes for static testing
v0.1.10 - 2016-09-25
- Adds .rspec
file for human-readable output
- Updates Gemfile version constraints
v0.1.9 - 2016-09-25
- Updates unit test structure
v0.1.8 - 2016-09-25
- Updates "this cookbook tested with" ChefDK to v0.17.17
- Updates Change log date formatting
- Fixes some typos and bad links
v0.1.7 - 2016-05-11
- Updates ownership details to Loom in readme and change log
- Updates metadata for new organization
- Adds change log notes for v0.1.6
v0.1.6 - 2016-03-30
- Updates platform versions
v0.1.5 - 2016-03-30
- Updates readme for ChefDK 0.12.0
- Adds shields.io badge to readme
- Changes grammar slightly in short description in metadata
v0.1.4 - 2016-03-20
- Adds more platform support to test suites
- Changes change log to use present simple verb tense
v0.1.3 - 2016-03-19
- Updates short description
v0.1.2 - 2016-03-19
- Corrects spelling of InSpec
- Corrects source and issue URLs
- Changes Travis CI config
- Corrects author email address
- Adds short description
- Removes integration test group from Berksfile
- Changes readme to contain more content
- Adds license
v0.1.1 - 2016-03-18
- Corrects spelling of InSpec
v0.1.0 - 2016-03-18
- Initial version, a simple cookbook that depends on
example_resources
Collaborator Number Metric
0.1.14 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.1.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.14 failed this metric
FC066: Ensure chef_version is set in metadata: example/metadata.rb:1
FC069: Ensure standardized license defined in metadata: example/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.14 passed this metric
Testing File Metric
0.1.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.14 failed this metric
0.1.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.1.14 failed this metric
FC066: Ensure chef_version is set in metadata: example/metadata.rb:1
FC069: Ensure standardized license defined in metadata: example/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.1.14 passed this metric
Testing File Metric
0.1.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.14 failed this metric
FC069: Ensure standardized license defined in metadata: example/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.14 passed this metric
Testing File Metric
0.1.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.1.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.1.14 failed this metric
0.1.14 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number