summaryrefslogtreecommitdiff
path: root/acceptance/.shared/kitchen_acceptance/.kitchen.vagrant.yml
blob: 6b382cf41722a12d0ede9f7065f329958e4f58da (plain)
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
driver:
  name: vagrant
  forward_agent: yes
  customize:
    cpus: 2
    memory: 1024

provisioner:
  name: chef_zero
  product_name: <%= ENV["KITCHEN_CHEF_PRODUCT"] %>
  product_version: <%= ENV["KITCHEN_CHEF_VERSION"] %>
  channel: <%= ENV["KITCHEN_CHEF_CHANNEL"] %>
  client_rb:
    audit_mode: :enabled
  attributes:
     chef_acceptance: "true"
     use_system_chef: "true"

# busser installation relies on this
<% if ENV["KITCHEN_CHEF_PRODUCT"] %>
verifier:
  chef_omnibus_root: "/opt/<%= ENV["KITCHEN_CHEF_PRODUCT"] %>"
<% end %>

platforms:
<% %w(
debian-8
ubuntu-15.10
ubuntu-14.04
el-7
el-6
el-5
freebsd-10
freebsd-9
fedora-21
).each do |platform| %>
  - name: <%= platform %>
    driver:
      box: opscode-<%= platform %>
      box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_<%= platform %>_chef-provisionerless.box
<% end %>
# freebsd-8
# ubuntu-12.04
# centos-7
  - name: centos-6
    driver:
      box: bento/centos-6.7
<% %w(
2012r2
2012
2008r2
).each do |version| %>
  - name: windows-<%= version %>
    driver:
      box: chef/windows-server-<%= version %>-standard
# URL is atlas
<% end %>