forked from sous-chefs/kafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.docker.yml
47 lines (43 loc) · 1.12 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
---
driver:
name: docker
require_chef_omnibus: '11.16.4'
memory: '512m'
provisioner:
name: chef_solo
platforms:
- name: centos-6.4
driver_config:
provision_command: yum install -y tar
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
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', '""') %>
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