File tree Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
driver :
3
- forward_agent : yes
4
3
name : vagrant
5
- vm_hostname : false # do not bother trying to change the hostname (sometimes fails)
6
4
customize :
7
5
cpus : 2
8
6
memory : 4096
@@ -14,20 +12,16 @@ provisioner:
14
12
name : chef_zero
15
13
16
14
platforms :
17
- - name : windows_2012r2 -chef11
15
+ - name : win2012 -chef11
18
16
driver_config :
19
- box : win2k12r2
20
- box_url : # insert your boxfile url here
21
- gui : true
17
+ box : windows-2012r2
22
18
provisioner :
23
19
require_chef_omnibus : 11.16.4
24
- - name : windows_2012r2 -chef12
20
+ - name : win2012 -chef12
25
21
driver_config :
26
- box : win2k12r2
27
- box_url : # insert your boxfile url here
28
- gui : true
22
+ box : windows-2012r2
29
23
provisioner :
30
- require_chef_omnibus : 12.3.0
24
+ require_chef_omnibus : latest
31
25
32
26
suites :
33
27
- name : default
Original file line number Diff line number Diff line change @@ -36,9 +36,11 @@ a successful Chef run, but this is not absolutely required.
36
36
### Tests
37
37
38
38
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/ )
39
42
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/ )
42
44
and [ Vagrant] ( https://www.vagrantup.com/ ) installed on your system. In the future we
43
45
want to add [ ServerSpec] ( http://serverspec.org/ ) tests as well.
44
46
You can’t perform that action at this time.
0 commit comments