forked from logicalclocks/hops-hadoop-chef
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.kitchen.yml
executable file
·75 lines (69 loc) · 1.72 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
---
driver:
name: vagrant
customize:
memory: 5000
natdnshostresolver1: "on"
natdnsproxy1: "on"
nictype1: "virtio"
network:
# - ["forwarded_port", {guest: 50070, host: 57777}]
# - ["forwarded_port", {guest: 50075, host: 57775}]
# - ["private_network", ip: "192.168.0.2"]
provisioner:
name: chef_solo
platforms:
- name: ubuntu-14.04
# - name: ubuntu-15.04
# - name: centos-7.0
suites:
- name: default
run_list:
- recipe[kagent::install]
- recipe[ndb::install]
- recipe[hops::install]
- recipe[ndb::mgmd]
- recipe[ndb::ndbd]
- recipe[ndb::mysqld]
- recipe[hops::ndb]
- recipe[hops::nn]
- recipe[hops::dn]
- recipe[hops::rm]
- recipe[hops::nm]
- recipe[hops::jhs]
# - recipe[hops::ps]
# - recipe[hops::jn]
attributes:
hops:
hdfs:
blocksize: "8m"
hops:
nn:
private_ips: ["10.0.2.15"]
dn:
private_ips: ["10.0.2.15"]
rm:
private_ips: ["10.0.2.15"]
nm:
private_ips: ["10.0.2.15"]
log_dir : "/srv"
jhs:
private_ips: ["10.0.2.15"]
ps:
private_ips: ["10.0.2.15"]
ndb:
user: mysql
group: mysql
DataMemory: "111"
mgmd:
private_ips: ["10.0.2.15"]
ndbd:
private_ips: ["10.0.2.15"]
mysqld:
private_ips: ["10.0.2.15"]
kagent:
private_ips: ["10.0.2.15"]
enabled: "false"
private_ips: ["10.0.2.15"]
public_ips: ["10.0.2.15"]
vagrant: "true"