-
Notifications
You must be signed in to change notification settings - Fork 3
/
.kitchen.yml
86 lines (81 loc) · 2.09 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
---
driver:
name: vagrant
provision: true
vagrantfiles:
- Vagrantfile.rb
provisioner:
name: chef_zero
# You may wish to disable always updating cookbooks in CI or other testing environments.
# For example:
# always_update_cookbooks: <%= !ENV['CI'] %>
always_update_cookbooks: true
client_rb:
environment: _default
chef_license: accept
verifier:
name: inspec
platforms:
- name: opscode-ubuntu-18.04-chef-14
driver:
box: bento/ubuntu-18.04
provisioner:
product_name: chef
product_version: latest
suites:
- name: default
run_list:
- recipe[zookeeper]
- recipe[kafka::kafka]
- recipe[kafka::burrow_install]
- recipe[consul::default]
- recipe[kafka::kafka_consul_register]
driver_config:
customize:
memory: 2048
network:
- ["private_network", { ip: "192.168.33.50" }]
verifier:
inspec_tests:
- test/integration/default
attributes:
consul:
run_as_server: true
hosts: ["127.0.0.1"]
cli_opts:
advertise: "192.168.33.50"
zookeeper:
role: zookeeper-cluster
hosts: ["default-opscode-ubuntu-1804-chef-14"]
my_id: 1
package_retries: 1
jvm_opts:
-Xmx128m:
kafka:
confluent_version: "5.5.0"
scala_version: "2.12"
yggdrasil:
enabled: true
config_dir: "/opt/yggdrasil"
configure_etc_hosts: true
zookeeper:
role: zookeeper-cluster
hosts: ["default-opscode-ubuntu-1804-chef-14"]
kafka:
role: kafka-cluster
hosts: ["default-opscode-ubuntu-1804-chef-14"]
auto_restart: true
cli_opts:
-Xmx4g: nil
-Xms4g: nil
-Xmx384m: ""
-Xms64m: ""
burrow:
zookeeper_clusters: ["localhost"]
kafka_cluster:
broker_ips: ["localhost"]
name: "test"
zookeeper_ips: ["localhost"]
topic_refresh_interval: 60
offset_refresh_interval: 30
package_retries: 1