cookbook 'test_kitchen_ad_helpers', '~> 0.1.1'
test_kitchen_ad_helpers (2) Versions 0.1.1 Follow1
Facilitates the setup of a multi-node test setup using Active Directory in Test Kitchen
cookbook 'test_kitchen_ad_helpers', '~> 0.1.1', :supermarket
knife supermarket install test_kitchen_ad_helpers
knife supermarket download test_kitchen_ad_helpers
test_kitchen_ad_helpers
A cookbook helper with a kitchen example for multi-node AD integration testing for Test Kitchen.
This example creates two instances:
- A domain controller
default-windows-domaincontroller
- A member server
default-windows-2012r2
Scenario
You want to test a cookbook/PowerShell script/etc using test-kitchen, but it requires that the server it's running on is joined to an AD domain.
Setup
Copy the following files from this repository into your cookbook's repo (merging files as necessary):
-
kitchen.yml
-
test/*
-
Berksfile
Add test_kitchen_ad_helpers
to the Berksfile
Usage
Use the platform named windows-2012r2
as your test bed. Replace or add to the existing tests in the default
suite and add a run_list that specifies your cookbook or other kitchen provisioners as you desire!
Requires
gem install kitchen-nodes
Author
Author:: Sam Martin (samjackmartin@gmail.com)
Dependent cookbooks
windows_ad >= 0.5.1 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.1.1 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.1 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.1 failed this metric
FC066: Ensure chef_version is set in metadata: test_kitchen_ad_helpers/metadata.rb:1
FC069: Ensure standardized license defined in metadata: test_kitchen_ad_helpers/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.1 passed this metric
Testing File Metric
0.1.1 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.1 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.1 failed this metric
0.1.1 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.1 failed this metric
FC066: Ensure chef_version is set in metadata: test_kitchen_ad_helpers/metadata.rb:1
FC069: Ensure standardized license defined in metadata: test_kitchen_ad_helpers/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.1 passed this metric
Testing File Metric
0.1.1 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.1 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.1 failed this metric
FC069: Ensure standardized license defined in metadata: test_kitchen_ad_helpers/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.1.1 passed this metric
Testing File Metric
0.1.1 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.1 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.1 failed this metric
0.1.1 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