-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
72 lines (63 loc) · 2.98 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
61
62
63
64
65
66
67
68
69
70
71
72
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "debian/jessie64"
config.vm.define :cassandra do |cassandra| # [1]
cassandra.vm.hostname = "cassandra.dev.elasticsoftware.org"
cassandra.vm.network :private_network, ip: "192.168.56.2"
# Enable shell provisioning to bootstrap cassandra
cassandra.vm.provision :shell, :path => "cassandra/bootstrap.sh"
# VirtualBox Specific Customization
config.vm.provider :virtualbox do |vb|
# Use VBoxManage to customize the VM. For example to change memory:
vb.gui = false
vb.customize ["modifyvm", :id, "--memory", "1024"]
vb.customize ["modifyvm", :id, "--ioapic", "on"]
vb.customize ["modifyvm", :id, "--cpus", "4"]
end
end
config.vm.define :rabbitmq do |rabbitmq| # [1]
rabbitmq.vm.hostname = "rabbitmq.dev.elasticsoftware.org"
rabbitmq.vm.network :private_network, ip: "192.168.56.3"
# Enable shell provisioning to bootstrap rabbitmq
rabbitmq.vm.provision :shell, :path => "rabbitmq/bootstrap.sh"
# VirtualBox Specific Customization
config.vm.provider :virtualbox do |vb|
# Use VBoxManage to customize the VM. For example to change memory:
vb.gui = false
vb.customize ["modifyvm", :id, "--memory", "512"]
vb.customize ["modifyvm", :id, "--ioapic", "on"]
vb.customize ["modifyvm", :id, "--cpus", "4"]
end
end
config.vm.define :kafka do |kafka| # [1]
kafka.vm.hostname = "kafka.dev.elasticsoftware.org"
kafka.vm.network :private_network, ip: "192.168.56.4"
# Enable shell provisioning to bootstrap kafka
kafka.vm.provision :shell, :path => "kafka/bootstrap.sh"
# VirtualBox Specific Customization
config.vm.provider :virtualbox do |vb|
# Use VBoxManage to customize the VM. For example to change memory:
vb.gui = false
vb.customize ["modifyvm", :id, "--memory", "2048"]
vb.customize ["modifyvm", :id, "--ioapic", "on"]
vb.customize ["modifyvm", :id, "--cpus", "4"]
end
end
config.vm.define :activemq do |activemq| # [1]
activemq.vm.hostname = "activemq.dev.elasticsoftware.org"
activemq.vm.network :private_network, ip: "192.168.56.5"
# Enable shell provisioning to bootstrap activemq
activemq.vm.provision :shell, :path => "activemq/bootstrap.sh"
# VirtualBox Specific Customization
config.vm.provider :virtualbox do |vb|
# Use VBoxManage to customize the VM. For example to change memory:
vb.gui = false
vb.customize ["modifyvm", :id, "--memory", "1536"]
vb.customize ["modifyvm", :id, "--ioapic", "on"]
vb.customize ["modifyvm", :id, "--cpus", "4"]
end
end
end