forked from mdsol/mesos_cookbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
63 lines (59 loc) · 1.44 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
---
driver:
name: vagrant
customize: {cpus: 2, memory: 1024}
network: [['forwarded_port', {guest: 5050, host: 5050, auto_correct: true}]]
provisioner:
name: chef_zero
require_chef_omnibus: 12.14.60
platforms:
- name: ubuntu-16.04
run_list: ['recipe[apt]', 'recipe[curl]']
- name: ubuntu-15.10
run_list: ['recipe[apt]', 'recipe[curl]']
- name: ubuntu-14.04
run_list: ['recipe[apt]', 'recipe[curl]']
- name: ubuntu-12.04
run_list: ['recipe[apt]', 'recipe[curl]']
- name: debian/jessie64
run_list: ['recipe[apt]']
attributes: {java: {jdk_version: '7'}}
- name: centos-7.2
run_list: ['recipe[yum]']
- name: centos-6.8
run_list: ['recipe[yum]']
# Oracle Linux
# - name: box-cutter/ol68
# run_list: ['recipe[yum]']
# - name: box-cutter/ol72
# run_list: ['recipe[yum]']
version: &version 1.1.0
suites:
-
name: mesos-master
run_list:
- recipe[zookeeper::default]
- recipe[mesos_pkg::master]
attributes:
mesos:
version: *version
master:
flags:
ip: &ip 192.168.33.33
driver:
network:
- ["private_network", {ip: *ip}]
-
name: mesos-slave
run_list:
- recipe[mesos_pkg::slave]
attributes:
mesos:
version: *version
slave:
flags:
ip: &ip 192.168.33.34
master: zk://192.168.33.33:2181/mesos
driver:
network:
- ["private_network", {ip: *ip}]