-
Notifications
You must be signed in to change notification settings - Fork 1
/
clockerConfig.yaml
37 lines (37 loc) · 1.41 KB
/
clockerConfig.yaml
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
---
master:
box: ubuntu/vivid64
ram: 2048
cpus: 4
node:
- name: clocker
ip: 10.10.10.101
forwarded_ports:
- guest: 80
host: 8081
shell:
- export DEBIAN_FRONTEND=noninteractive;sudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D;sudo add-apt-repository "deb https://apt.dockerproject.org/repo ubuntu-vivid main";sudo apt-get update;
- sudo apt-get install --yes openjdk-8-jre-headless docker-engine
- sudo ln -s /vagrant/files/clocker-install.service /etc/systemd/system/clocker-install.service
- sudo ln -s /vagrant/files/clocker.service /etc/systemd/system/clocker.service;
- sudo systemctl start clocker &
# - name: brooklyn
# ip: 10.10.10.101
# forwarded_ports:
# - guest: 80
# host: 8081
# shell:
# - export DEBIAN_FRONTEND=noninteractive;sudo apt-key adv --keyserver hkp://pgp.mit.edu:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D;sudo add-apt-repository "deb https://apt.dockerproject.org/repo ubuntu-vivid main";sudo apt-get update;
# - sudo apt-get install --yes openjdk-8-jre-headless docker-engine
# - sudo ln -s /vagrant/files/brooklyn.service /etc/systemd/system/brooklyn.service;
# - sudo systemctl start brooklyn &
slave:
box: ubuntu/vivid64
count: 3
hostname_template: byon%s
ip_template: 10.10.100.1%s
ram: 512
cpus: 1
shell:
- date > init.log
...