Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated kitchen.yml #23

Merged
merged 1 commit into from
Mar 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 40 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,23 +49,58 @@ gem 'kitchen-vcenter'
A sample `.kitchen.yml` file, details are below.

```yml
---
driver:
name: vcenter
vcenter_username: <%= ENV['VCENTER_USER'] || "administrator@vsphere.local" %>
vcenter_password: <%= ENV['VCENTER_PASSWORD'] || "P@ssw0rd!" %>
vcenter_host: vcenter.chef.io
vcenter_username: 'administrator@vsphere.local'
vcenter_password: <%= ENV['VCENTER_PASSWORD'] %>
vcenter_host: <%= ENV['VCENTER_HOST'] %>
vcenter_disable_ssl_verify: true
driver_config:
datacenter: "Datacenter"

provisioner:
name: chef_zero
sudo_command: sudo
deprecations_as_errors: true
retry_on_exit_code:
- 35 # 35 is the exit code signaling that the node is rebooting
max_retries: 2
wait_for_retry: 90

verifier:
name: inspec

platforms:
- name: ubuntu-1604
driver_config:
targethost: 10.0.0.42
template: ubuntu16-template
datacenter: "Datacenter"
transport:
username: "admini"
password: admini

- name: centos-7
driver_config:
targethost: 10.0.0.42
template: centos7-template
datacenter: "Datacenter"
transport:
username: "root"
password: admini

- name: windows2012R2
driver_config:
targethost: 10.0.0.42
template: windows2012R2-template
datacenter: "Datacenter"
transport:
username: "Administrator"
password: "p@ssW0rd!"

suites:
- name: default
run_list:
- recipe[cookbook::default]
```

### Required parameters:
Expand Down