-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[COOK-3543] Do not setup OpenLDAP server as a slave
Signed-off-by: Seth Vargo <[email protected]>
- Loading branch information
1 parent
727d657
commit 25d1882
Showing
2 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
This cookbook includes support for running tests via Test Kitchen (1.0). This has some requirements. | ||
|
||
1. You must be using the Git repository, rather than the downloaded cookbook from the Chef Community Site. | ||
2. You must have Vagrant 1.1 installed. | ||
3. You must have a "sane" Ruby 1.9.3 environment. | ||
|
||
Once the above requirements are met, install the additional requirements: | ||
|
||
gem install bundle | ||
bundle install | ||
|
||
vagrant plugin install vagrant-berkshelf | ||
|
||
You'll need to add some SSL certificates. For testing purposes, create dummy self-signed certs by running: | ||
mkdir files/default/ssl | ||
FQDN=ldap.example.com rake ssl_cert | ||
|
||
Once the above are installed, you should be able to run Test Kitchen: | ||
|
||
kitchen list | ||
kitchen test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters