-
Notifications
You must be signed in to change notification settings - Fork 63
/
.kitchen.yml
87 lines (84 loc) · 2.28 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
---
driver:
name: vagrant
require_chef_omnibus: 11.16.4
customize:
memory: 2048
cpus: 2
ioapic: 'on'
provisioner:
name: chef_solo
platforms:
- name: ubuntu-13.04
run_list:
- recipe[apt]
attributes:
java:
jdk_version: 7
- name: ubuntu-14.04
run_list:
- recipe[apt]
driver_config:
box: opscode-ubuntu-14.04
box_url: http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box
suites:
- name: mesosphere_master
run_list:
- recipe[mesos::master]
attributes:
mesos:
type: mesosphere
mesosphere:
with_zookeeper: true
master:
zk: 'zk://localhost:2181/mesos'
quorum: 1
master_ips: ['10.0.0.1', '10.0.0.2', '10.0.0.3']
slave_ips: ['11.0.0.1', '11.0.0.2', '11.0.0.3']
- name: mesosphere_slave
run_list:
# master recipe is only for asserting mesos-slave healthy startup.
- recipe[mesos::master]
- recipe[mesos::slave]
attributes:
mesos:
type: mesosphere
slave:
attributes:
rackid: us-east-1b
master: 'zk://localhost:2181/mesos'
master:
zk: 'zk://localhost:2181/mesos'
quorum: 1
# these keys below are only for master configurations.
master_ips: ['10.0.0.1', '10.0.0.2', '10.0.0.3']
slave_ips: ['11.0.0.1', '11.0.0.2', '11.0.0.3']
mesosphere:
with_zookeeper: true
- name: source_master
run_list:
- recipe[mesos::master]
attributes:
mesos:
type: source
master:
quorum: 1
master_ips: ['10.0.0.1', '10.0.0.2', '10.0.0.3']
slave_ips: ['11.0.0.1', '11.0.0.2', '11.0.0.3']
- name: source_slave
run_list:
# master recipe is only for asserting mesos-slave healthy startup.
- recipe[mesos::master]
- recipe[mesos::slave]
attributes:
mesos:
type: source
master:
zk: 'zk://localhost:2181/mesos'
ip: 127.0.0.1
quorum: 1
slave:
master: 127.0.0.1:5050
# these keys below are only for master configurations.
master_ips: ['10.0.0.1', '10.0.0.2', '10.0.0.3']
slave_ips: ['11.0.0.1', '11.0.0.2', '11.0.0.3']