-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.kitchen-docker.yml
99 lines (95 loc) · 2.18 KB
/
.kitchen-docker.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
---
driver:
name: docker
# before running test kitchen:
# export KITCHEN_YAML=.kitchen-docker.yml
driver_config:
require_chef_omnibus: latest
# require_chef_omnibus: 12.5.1
# require_chef_omnibus: 11.18.14
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.1
attributes:
system:
primary_interface: eth1
- name: debian-7.8
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-15.04
attributes:
system:
primary_interface: eth1
- name: centos-7.1
attributes:
system:
primary_interface: enp0s8
- name: centos-6.6
attributes:
system:
primary_interface: eth1
- name: fedora-21
attributes:
system:
primary_interface: enp0s8
- name: fedora-20
attributes:
system:
primary_interface: enp0s8
suites:
- name: default
run_list:
- 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:
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"