Skip to content

Commit 82a7316

Browse files
author
Kartik Null Cating-Subramanian
committed
Update .kitchen.yml to work against latest test-kitchen.
1 parent a87c5d7 commit 82a7316

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

.kitchen.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
driver:
3-
forward_agent: yes
43
name: vagrant
5-
vm_hostname: false # do not bother trying to change the hostname (sometimes fails)
64
customize:
75
cpus: 2
86
memory: 4096
@@ -14,20 +12,16 @@ provisioner:
1412
name: chef_zero
1513

1614
platforms:
17-
- name: windows_2012r2-chef11
15+
- name: win2012-chef11
1816
driver_config:
19-
box: win2k12r2
20-
box_url: #insert your boxfile url here
21-
gui: true
17+
box: windows-2012r2
2218
provisioner:
2319
require_chef_omnibus: 11.16.4
24-
- name: windows_2012r2-chef12
20+
- name: win2012-chef12
2521
driver_config:
26-
box: win2k12r2
27-
box_url: #insert your boxfile url here
28-
gui: true
22+
box: windows-2012r2
2923
provisioner:
30-
require_chef_omnibus: 12.3.0
24+
require_chef_omnibus: latest
3125

3226
suites:
3327
- name: default

CONTRIBUTING.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ a successful Chef run, but this is not absolutely required.
3636
### Tests
3737

3838
This cookbook is set up to run tests under [Test Kitchen](http://kitchen.ci/).
39+
You need to follow the latest instructions to have test-kitchen windows support
40+
configured on your machine. For example, follow this
41+
[blog post](http://kitchen.ci/blog/test-kitchen-windows-test-flight-with-vagrant/)
3942
You should be able to run the ``bundle install`` and then ``bundle exec kitchen test``
40-
to run the integration tests. This will download an evaluation image of Windows and
41-
run a couple of included recipes from the 'test' folder. You must have [VirtualBox](https://www.virtualbox.org/)
43+
to run the integration tests. You must have [VirtualBox](https://www.virtualbox.org/)
4244
and [Vagrant](https://www.vagrantup.com/) installed on your system. In the future we
4345
want to add [ServerSpec](http://serverspec.org/) tests as well.
4446

0 commit comments

Comments
 (0)