-
Notifications
You must be signed in to change notification settings - Fork 52
/
.kitchen.zone.yml
39 lines (39 loc) · 1.38 KB
/
.kitchen.zone.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
platforms:
# Talk to the Engineering Services team if you need access to the Solaris development infra.
<%
{
'solaris-11-i86pc' => {
global_zone_hostname: 'virtsol01.chef.co',
master_zone_ip: '172.31.9.84',
test_zone_ip: '172.31.9.86',
},
'solaris-10-i86pc' => {
global_zone_hostname: 'virtsol02.chef.co',
master_zone_ip: '172.31.9.36',
test_zone_ip: '172.31.9.38',
},
'solaris-11-sun4v' => {
global_zone_hostname: 'virtsol03.chef.co',
master_zone_ip: '172.31.9.60',
test_zone_ip: '172.31.9.62',
},
'solaris-10-sun4v' => {
global_zone_hostname: 'virtsol04.chef.co',
master_zone_ip: '172.31.9.12',
test_zone_ip: '172.31.9.14',
},
}.each_pair do |platform_name, options| %>
- name: <%= platform_name %>
provisioner:
sudo_command: <%= platform_name =~ /solaris-10/ ? '/usr/local/bin/sudo -E' : 'sudo -E' %>
verifier:
sudo_command: <%= platform_name =~ /solaris-10/ ? '/usr/local/bin/sudo -E' : 'sudo -E' %>
driver:
name: zone
global_zone_hostname: <%= options[:global_zone_hostname] %>
global_zone_password: <%= ENV['KITCHEN_ZONE_GLOBAL_ZONE_PASSWORD'] %>
master_zone_name: kitchen-master
master_zone_ip: <%= options[:master_zone_ip] %>
# TODO: Assign ipaddresses automatically
test_zone_ip: <%= options[:test_zone_ip] %>
<% end %>