-
-
Notifications
You must be signed in to change notification settings - Fork 605
/
.kitchen.yml
96 lines (88 loc) · 2.53 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
---
################################################################################
# Any local customizations should be placed inside the .kitchen.local.yml, which
# will not be checked in or overwritten. You may also use ~/.kitchen/config.yml
# or environment variables like VAGRANT_DEFAULT_PROVIDER. Anything in those will
# take precedence over anything set in `.kitchen.yml`.
################################################################################
driver:
name: vagrant # provide a default test-kitchen driver, vagrant
provisioner:
name: chef_zero
nodes_path: 'test/fixtures/nodes'
data_bags_path: 'test/fixtures/data_bags'
environments_path: 'test/fixtures/environments'
client_rb:
environment: _default
attributes:
java:
jdk_version: '8'
platforms:
- name: ubuntu-16.04
run_list:
- recipe[apt]
- recipe[curl]
- recipe[elasticsearch_test::fix_cacerts]
- name: ubuntu-14.04
run_list:
- recipe[apt]
- recipe[curl]
- recipe[elasticsearch_test::fix_cacerts]
- name: ubuntu-12.04
run_list:
- recipe[apt]
- recipe[curl]
- recipe[elasticsearch_test::fix_cacerts]
- name: centos-7.2
run_list:
- recipe[yum]
- recipe[curl]
- name: centos-6.7
run_list:
- recipe[yum]
- recipe[curl]
suites:
- name: package # install from package
require_chef_omnibus: 12.15.19
run_list:
- recipe[java]
- recipe[elasticsearch_test::default_with_plugins]
attributes:
elasticsearch:
install_type: package
- name: tarball # install by tarball
require_chef_omnibus: 12.15.19
run_list:
- recipe[java]
- recipe[elasticsearch_test::default_with_plugins]
attributes:
elasticsearch:
install_type: tarball
- name: override_package # the override-everything use case
driver_config:
require_chef_omnibus: 12.15.19
run_list:
- recipe[java]
- recipe[elasticsearch_test::package]
- name: override_tarball # the override-everything use case
driver_config:
require_chef_omnibus: 12.15.19
run_list:
- recipe[java]
- recipe[elasticsearch_test::tarball]
- name: chef-12.14.89
driver_config:
require_chef_omnibus: 12.14.89
includes:
- ubuntu-16.04
run_list:
- recipe[java]
- recipe[elasticsearch_test::default_with_plugins]
- name: chef-12.13.37
driver_config:
require_chef_omnibus: 12.13.37
includes:
- ubuntu-16.04
run_list:
- recipe[java]
- recipe[elasticsearch_test::default_with_plugins]