cookbook 'example_resources', '~> 1.0.14'
example_resources (13) Versions 1.0.14 Follow0
Provider cookbook that defines an example Chef resource. Integration tests in InSpec.
cookbook 'example_resources', '~> 1.0.14', :supermarket
knife supermarket install example_resources
knife supermarket download example_resources
example_resources
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.
Dependent cookbooks
This cookbook has no specified dependencies.
Contingent cookbooks
Change log
This file tracks and describes changes to example_resources
.
This project adheres to semantic versioning 2.0.
v1.0.14 - 2016-09-25
- Improves readability for unit tests
v1.0.13 - 2016-09-25
- Improves readability for unit tests
v1.0.12 - 2016-09-25
- Corrects style to pass static tests
- Updates change log date format for clarity
v1.0.11 - 2016-09-25
- Corrects links in readme
v1.0.10 - 2016-05-11
- Updates ownership details to Loom in readme and change log
- Updates metadata for new organization
v1.0.9 - 2016-03-31
- Updates change log to be written in present simple verb tense
- Changes platform support to be consistent with the example cookbook, which depends on this cookbook
v1.0.8 - 2016-03-30
- Adds cookbook version badge
- Updates readme for ChefDK 0.12.0
- Updates short description
v1.0.7 - 2016-03-19
- Adds more platform support to test suites
v1.0.6 - 2016-03-19
- Adds a better translation
v1.0.5 - 2016-03-19
- Updates short description
v1.0.4 - 2016-03-19
- Bumps version for premature Supermarket upload
v1.0.3 - 2016-03-19
- Updates author email
v1.0.2 - 2016-03-19
- Improves metadata for Supermarket
- Increases detail in readme
- Adds license
- Points to Supermarket instead of GitHub
v1.0.1 - 2016-03-18
- Corrects spelling of InSpec
v1.0.0 - 2016-03-17
- Refactors name from example_resource_cookbook
to example_resources
v0.1.0 - 2016-03-16
- Creates example_resource
- Creates test cookbook
- Supports CentOS
Collaborator Number Metric
1.0.14 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
1.0.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
1.0.14 failed this metric
FC066: Ensure chef_version is set in metadata: example_resources/metadata.rb:1
FC069: Ensure standardized license defined in metadata: example_resources/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.14 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.14 failed this metric
1.0.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
1.0.14 failed this metric
FC066: Ensure chef_version is set in metadata: example_resources/metadata.rb:1
FC069: Ensure standardized license defined in metadata: example_resources/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
1.0.14 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.14 failed this metric
FC069: Ensure standardized license defined in metadata: example_resources/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.0.14 passed this metric
Testing File Metric
1.0.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
1.0.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
1.0.14 failed this metric
1.0.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