https://github.com/sam-martin/test_kitchen_ad_helpers
Facilitates the setup of a multi-node test setup using Active Directory in Test Kitchen
https://github.com/sam-martin/test_kitchen_ad_helpers
Last synced: about 1 year ago
JSON representation
Facilitates the setup of a multi-node test setup using Active Directory in Test Kitchen
- Host: GitHub
- URL: https://github.com/sam-martin/test_kitchen_ad_helpers
- Owner: Sam-Martin
- Created: 2016-02-07T18:15:20.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-20T12:18:02.000Z (about 10 years ago)
- Last Synced: 2025-02-04T22:25:18.299Z (over 1 year ago)
- Language: Ruby
- Size: 10.7 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# test_kitchen_ad_helpers [](https://travis-ci.org/Sam-Martin/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:
1. A domain controller `default-windows-domaincontroller`
2. 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):
1. `kitchen.yml`
2. `test/*`
3. `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 ()