This repository has been archived by the owner on May 20, 2024. It is now read-only.
forked from sous-chefs/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.kitchen.yml
83 lines (75 loc) · 2.18 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
---
################################################################################
# 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
require_chef_omnibus: true
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[java]
- recipe[elasticsearch_test::fix_cacerts]
- name: ubuntu-14.04
run_list:
- recipe[apt]
- recipe[curl]
- recipe[java]
- recipe[elasticsearch_test::fix_cacerts]
- name: centos-7.2
run_list:
- recipe[yum]
- recipe[curl]
- recipe[java]
- name: centos-6.7
run_list:
- recipe[yum]
- recipe[curl]
- recipe[java]
suites:
- name: repository # install from repository
run_list:
- recipe[elasticsearch_test::default_with_plugins]
attributes:
elasticsearch:
install:
type: repository
- name: tarball # install by tarball
run_list:
- recipe[elasticsearch_test::default_with_plugins]
attributes:
elasticsearch:
install:
type: tarball
- name: package # install from package directly
run_list:
- recipe[java]
- recipe[elasticsearch_test::default_with_plugins]
attributes:
elasticsearch:
install:
type: package
- name: doubleinstance
run_list:
- recipe[elasticsearch_test::doubleinstances]
- name: override_package # the override-everything use case
run_list:
- recipe[elasticsearch_test::package]
- name: override_tarball # the override-everything use case
run_list:
- recipe[elasticsearch_test::tarball]