-
Notifications
You must be signed in to change notification settings - Fork 20
/
.kitchen.yml
111 lines (109 loc) · 2.48 KB
/
.kitchen.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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
---
driver:
name: vagrant
provisioner:
name: chef_zero
platforms:
# not supported :(
# https://github.com/chef/omnitruck/issues/77
# - name: archlinux
# driver:
# box: 'terrywang/archlinux'
# attributes:
# system:
# primary_interface: enp0s8
- name: debian-8.6
attributes:
system:
primary_interface: eth1
- name: debian-7.11
attributes:
system:
primary_interface: eth1
- name: ubuntu-14.04
attributes:
system:
primary_interface: eth1
- name: ubuntu-12.04
attributes:
system:
primary_interface: eth1
- name: ubuntu-16.04
attributes:
system:
primary_interface: eth0
- name: centos-7.2
attributes:
system:
primary_interface: enp0s8
- name: centos-6.8
attributes:
system:
primary_interface: eth1
- name: fedora-24
attributes:
system:
primary_interface: enp0s8
- name: fedora-23
attributes:
system:
primary_interface: enp0s8
- name: freebsd-10.3
attributes:
system:
primary_interface: em1
driver_config:
ssh:
shell: '/bin/sh'
network:
- ["private_network", {ip: "172.16.172.16"}]
- name: freebsd-9.3
attributes:
system:
primary_interface: em1
driver_config:
ssh:
shell: '/bin/sh'
network:
- ["private_network", {ip: "172.16.172.16"}]
suites:
- name: default
run_list:
- recipe[system::default]
- recipe[system::timezone]
- recipe[system::install_packages]
- recipe[system::uninstall_packages]
- recipe[system::profile]
- recipe[system::environment]
driver:
network:
- ["private_network", {ip: "172.16.172.16"}]
attributes:
system:
hostsfile_behaviour: create
short_hostname: test
domain_name: kitchen
environment:
extra:
DINNER: Pizza
DESERT: Ice cream
timezone: Australia/Sydney
static_hosts:
95.211.29.66: supermarket.io
184.106.28.82: chef.io
packages:
install:
- "curl"
- "wget"
install_compile_time:
- "sudo"
uninstall:
- "gcc"
profile:
append_scripts:
- "export CHEF_IS_AWESOME=1"
- "echo helloworld > /dev/null"
path_prepend:
- "/opt/local/food/bin"
path_append:
- "/opt/local/bin"