forked from sous-chefs/kafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
150 lines (147 loc) · 4.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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
---
driver:
name: vagrant
customize:
memory: 1024
cpus: 2
ioapic: 'on'
provisioner:
name: chef_solo
platforms:
- name: centos-6.5
attributes:
java:
jdk_version: 7
- name: centos-7.0
attributes:
java:
jdk_version: 7
- name: debian-7.4
run_list:
- recipe[apt]
attributes:
java:
jdk_version: 7
- name: ubuntu-14.04
run_list:
- recipe[apt]
attributes:
java:
jdk_version: 7
- name: fedora-20
attributes:
java:
jdk_version: 7
suites:
- name: init-style-upstart
run_list:
- recipe[java::default]
- recipe[kafka::default]
includes:
- ubuntu-14.04
attributes:
kafka:
init_style: 'upstart'
version: <%= ENV.fetch('KAFKA_VERSION', '0.8.1.1') %>
checksum: <%= ENV.fetch('KAFKA_CHECKSUM', '""') %>
md5_checksum: <%= ENV.fetch('KAFKA_MD5', '""') %>
ulimit_file: 128000
broker:
controlled_shutdown_enable: <%= ENV.fetch('KAFKA_CTRL_SHUTDOWN', nil) %>
log_dirs: ['/mnt/kafka-logs-1', '/mnt/kafka-logs-2']
zookeeper_connect: ['localhost:2181']
zookeeper_connection_timeout_ms: 15_000
- name: init-style-sysv
run_list:
- recipe[java::default]
- recipe[kafka::default]
excludes:
- centos-7.0
attributes:
kafka:
version: <%= ENV.fetch('KAFKA_VERSION', '0.8.1.1') %>
checksum: <%= ENV.fetch('KAFKA_CHECKSUM', '""') %>
md5_checksum: <%= ENV.fetch('KAFKA_MD5', '""') %>
ulimit_file: 128000
broker:
controlled_shutdown_enable: <%= ENV.fetch('KAFKA_CTRL_SHUTDOWN', nil) %>
log_dirs: ['/mnt/kafka-logs-1', '/mnt/kafka-logs-2']
zookeeper_connect: ['localhost:2181']
zookeeper_connection_timeout_ms: 15_000
- name: init-style-systemd
run_list:
- recipe[java::default]
- recipe[kafka::default]
includes:
- fedora-20
- centos-7.0
attributes:
kafka:
init_style: 'systemd'
version: <%= ENV.fetch('KAFKA_VERSION', '0.8.1.1') %>
checksum: <%= ENV.fetch('KAFKA_CHECKSUM', '""') %>
md5_checksum: <%= ENV.fetch('KAFKA_MD5', '""') %>
broker:
controlled_shutdown_enable: <%= ENV.fetch('KAFKA_CTRL_SHUTDOWN', nil) %>
log_dirs: ['/mnt/kafka-logs-1', '/mnt/kafka-logs-2']
zookeeper_connect: ['localhost:2181']
zookeeper_connection_timeout_ms: 15_000
- name: source-init-style-upstart
run_list:
- recipe[java::default]
- recipe[kafka::default]
excludes:
- centos-6.5
- centos-7.0
- debian-7.4
- fedora-20
attributes:
kafka:
install_method: 'source'
init_style: 'upstart'
version: <%= ENV.fetch('KAFKA_VERSION', '0.8.1.1') %>
checksum: <%= ENV.fetch('KAFKA_CHECKSUM', '""') %>
md5_checksum: <%= ENV.fetch('KAFKA_MD5', '""') %>
broker:
controlled_shutdown_enable: <%= ENV.fetch('KAFKA_CTRL_SHUTDOWN', nil) %>
log_dirs: ['/mnt/kafka-logs-1', '/mnt/kafka-logs-2']
ulimit_file: 128000
zookeeper_connect: ['localhost:2181']
zookeeper_connection_timeout_ms: 15_000
- name: source-init-style-sysv
run_list:
- recipe[java::default]
- recipe[kafka::default]
excludes:
- centos-7.0
attributes:
kafka:
install_method: 'source'
version: <%= ENV.fetch('KAFKA_VERSION', '0.8.1.1') %>
checksum: <%= ENV.fetch('KAFKA_CHECKSUM', '""') %>
md5_checksum: <%= ENV.fetch('KAFKA_MD5', '""') %>
broker:
controlled_shutdown_enable: <%= ENV.fetch('KAFKA_CTRL_SHUTDOWN', nil) %>
log_dirs: ['/mnt/kafka-logs-1', '/mnt/kafka-logs-2']
ulimit_file: 128000
zookeeper_connect: ['localhost:2181']
zookeeper_connection_timeout_ms: 15_000
- name: source-init-style-systemd
run_list:
- recipe[java::default]
- recipe[kafka::default]
includes:
- fedora-20
- centos-7.0
attributes:
kafka:
install_method: 'source'
init_style: 'systemd'
version: <%= ENV.fetch('KAFKA_VERSION', '0.8.1.1') %>
checksum: <%= ENV.fetch('KAFKA_CHECKSUM', '""') %>
md5_checksum: <%= ENV.fetch('KAFKA_MD5', '""') %>
broker:
controlled_shutdown_enable: <%= ENV.fetch('KAFKA_CTRL_SHUTDOWN', nil) %>
log_dirs: ['/mnt/kafka-logs-1', '/mnt/kafka-logs-2']
zookeeper_connect: ['localhost:2181']
zookeeper_connection_timeout_ms: 15_000