forked from sous-chefs/kafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.docker.yml
55 lines (52 loc) · 1.58 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
---
driver:
name: docker
socket: tcp://localhost:4243
require_chef_omnibus: true
memory: '512m'
provisioner:
name: chef_solo
platforms:
- name: centos-6.4
attributes:
java:
jdk_version: 7
- name: debian-7.4
attributes:
java:
jdk_version: 7
- name: ubuntu-14.04
attributes:
java:
jdk_version: 7
suites:
- name: init-style-sysv
run_list:
- recipe[java::default]
- recipe[kafka::default]
attributes:
kafka:
version: <%= ENV.fetch('KAFKA_VERSION', '0.8.1.1') %>
scala_version: <%= ENV.fetch('SCALA_VERSION', '2.9.2') %>
checksum: <%= ENV.fetch('KAFKA_CHECKSUM', nil) %>
md5_checksum: <%= ENV.fetch('KAFKA_MD5', nil) %>
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-sysv
run_list:
- recipe[java::default]
- recipe[kafka::default]
attributes:
kafka:
version: <%= ENV.fetch('KAFKA_VERSION', '0.8.1.1') %>
install_method: 'source'
checksum: <%= ENV.fetch('KAFKA_CHECKSUM', nil) %>
md5_checksum: <%= ENV.fetch('KAFKA_MD5', nil) %>
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