forked from allegro/hermes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
60 lines (49 loc) · 3.72 KB
/
Vagrantfile
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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "10.10.10.10"
config.vm.hostname = "hermes"
config.vm.provider "virtualbox" do |vb|
vb.memory = "4000"
vb.name = "hermes"
end
config.vm.post_up_message = """
╥⌂
╫▓▄Z,
║▒▒▓▄Å╦
╚▒▒▓▓▌▄▀▄
▒▒▓▓▓▓▌▄▀▄
╡▀▓▓▓▓▓▓▓▄▀▌µ
╫▒╬▀▓▓▓▓▓▓▓▄▄▀▄▄
▓▓▓▄▒▀█▓▓▓▓▓▓▄▄▀█▄▄,
╙▓▓▓▓▓▒▄▒▀█▓▓▓▓▓▓▄▄▀▀█▓▓▌▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄,
█▓▓▓▓▓▓▓▒▄▄▒▀▀█▓▓▓▌ ▒▄▄▄▄▌▌▌▌▌▌▌▌▌▌▌▀▀▀██▓▓▄▄
'▄▄▀██▓▓▓▓▓▓▓▓▓▓▄▄▄Qδ ▀▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌▄▌▀█▓▌▄
└█▓▒▒▄▄▒▀▀▀███▓▓▓▓▓▓ ╚▄▀█▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▄▌█▓▌,
▀▓▓▓▓▓▓▓▓▓▓▒▒▄▄▄▄▄▄╕▀▓▓▌▄▄▌▀▀▀▀▌▌▌▌▄▄▌▌▌▌▀█▓▓▓▓▄▀▓▓╕
▀█▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓╦╙▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▄▌▀▓▓▄▀▓▌
└▒▒▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▒▄ ▀▓▓▓▓▓▓▓▓▓▓▓███████▓▓▓▓▓▌▄█▓╝
╙█▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█▀─╚▌▌▌▄▄▄▄▄▄▓▓▓▓▓▓▓▓▓▓▓▓▓▀▓▓▀
`Σ▀▀▀▀▀▀Q▄▄▄▄▒▓▓▓▄╙▓▓▓▓▓▓▓▓▓▓▓███▀▀▀▀██▓▓δ
`╨▒▀█▓▓▓▓▓▓▓▓▓▓▓▓▌▄▀█▓▓█▀▀▄▄▒▀▀▀▀▀▀▀▀▀Γ
`²¥╬▌▀▀███████▀▀▄▄▄█▀Γ.
ΓΓ╙╨▀▀▀▀Γ
,▓Θ
▓▓▌
▓▓▓▓▓▓▌▄ ▄▓▓▓▓▌▄ ▓▓▌▓▓▌`╫▓▓▓▓▓▄▄▓▓▓▌╕ ,▄▓▓▓▓▌▄ ╓▄▓▓▓▓▌▄
▓▓▓ ▓▓µ╓▓▓▀ ▀▓▓ ▓▓▓Γ █▓█ ▀▓▓Γ └▓▓µ╠▓▓Γ █▓▓ ▓▓▌ . ▀
▓▓▌ ╫▓▌█▓▓▓▓▓▓▓▓▓∩▓▓µ █▓▌ ]▓▓ ▓▓▌▓▓▓▓▓▓▓▓▓▓ ▀█▓▓▓▌╕
▓▓▌ ╫▓▌╙▓▓▄ ,▄▌▄ ▓▓µ █▓▌ ]▓▓ ▓▓▌╙▓▓▄ ,▄▌╕ ,▄, ,╠▓▓
██Γ ▀█▌ ▀█████▀ ██⌐ ██Θ ╘██ ██Γ ▀█████▀ ▀█████▀
* UI & Management: http://10.10.10.10:8090
* Frontend: http://10.10.10.10:8080
* Graphite: http://10.10.10.10:8082
"""
config.vm.provision "shell", path: "vagrant_provisioning/init.sh"
config.vm.provision "puppet", manifests_path: "vagrant_provisioning", manifest_file: "graphite.pp", run: "always"
config.vm.provision "shell", path: "vagrant_provisioning/start.sh", run: "always"
config.vm.provision "frontend", type: "shell", path: "vagrant_provisioning/install_hermes_module.sh", args: "frontend"
config.vm.provision "consumers", type: "shell", path: "vagrant_provisioning/install_hermes_module.sh", args: "consumers"
config.vm.provision "management", type: "shell", path: "vagrant_provisioning/install_hermes_module.sh", args: "management"
end