This repository has been archived by the owner on Nov 10, 2019. It is now read-only.
forked from inspec/inspec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.chef.yml
72 lines (66 loc) · 2.12 KB
/
.kitchen.chef.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
driver:
name: vagrant
provisioner:
name: chef_solo
verifier:
name: inspec
sudo: true
platforms:
# The following (private) boxes are shared via VagrantCloud and are only
# available to users working for Chef. Sorry, it's about software licensing.
#
# Chef-internal users, you will need to:
# 1. Create an VagrantCloud account: https://app.vagrantup.com/
# 2. Ping #eng-services-support with your VagrantCloud account name
# to be added to the relevant team in VagrantCloud,
# 3. Do `vagrant login` with your VagrantCloud creds so that you can download
# the private boxes.
#
# The Mac OS X boxes are VMware only also. You can enable VMware Fusion
# by activating the `.kitchen.vmware.yml` file with the `KITCHEN_LOCAL_YAML`
# environment variable:
#
# KITCHEN_LOCAL_YAML=.kitchen.vmware.yml kitchen converge inspec-macosx-109
#
<% %w(
10.9
10.10
10.11
).each do |mac_version| %>
- name: macosx-<%= mac_version %>
driver:
box: chef/macosx-<%= mac_version %> # private
synced_folders:
- ['..', '/Users/vagrant/chef']
- ['../../omnibus', '/Users/vagrant/omnibus']
- ['../../omnibus-software', '/Users/vagrant/omnibus-software']
<% end %>
#
# # By adding an `i386` to the name the Omnibus cookbook's `load-omnibus-toolchain.bat`
# # will load the 32-bit version of the MinGW toolchain.
<% [ '', '-i386' ].each do |win_suffix| %>
- name: windows-2012r2-standard<%= win_suffix %>
driver:
box: chef/windows-server-2012r2-standard # private
synced_folders:
# We have to mount this repos enclosing folder as the Omnibus build
# gets cranky if the mounted source folder is a symlink. This
# mounts at `C:\vagrant\code` and the inspec source folder is available
# at `C:\vagrant\code\inspec`
- ['../..', '/vagrant/code']
<% end %>
<% [ '10.11', '11.3' ].each do |solaris_version| %>
- name: solaris-<%= solaris_version %>
driver:
box: chef/solaris-<%= solaris_version %>
<% end %>
<% [ '11-sp2-x86_64' ].each do |sles_version| %>
- name: sles-<%= sles_version %>
driver:
box: chef/sles-<%= sles_version %>
<% end %>
suites:
- name: default
run_list:
- recipe[os_prepare]