diff --git a/Vagrantfile b/Vagrantfile index dbf0965..f100456 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -3,71 +3,71 @@ # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! VAGRANTFILE_API_VERSION = "2" -STORM_VERSION = "storm-0.9.1-incubating-SNAPSHOT" +STORM_VERSION = "storm-0.9.3" STORM_ARCHIVE = "#{STORM_VERSION}.zip" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| - + config.hostmanager.manage_host = true config.hostmanager.enabled = true - + if(!File.exist?(STORM_ARCHIVE)) - `wget -N https://dl.dropboxusercontent.com/s/dj86w8ojecgsam7/storm-0.9.0.1.zip` + `wget -N http://download.nextag.com/apache/storm/apache-storm-0.9.3/apache-storm-0.9.3.zip` end - + config.vm.define "zookeeper" do |zookeeper| - zookeeper.vm.box = "precise32" + zookeeper.vm.box = "precise64" zookeeper.vm.network "private_network", ip: "192.168.50.3" zookeeper.vm.hostname = "zookeeper" zookeeper.vm.provision "shell", path: "install-zookeeper.sh" end config.vm.define "nimbus" do |nimbus| - nimbus.vm.box = "precise32" + nimbus.vm.box = "precise64" nimbus.vm.network "private_network", ip: "192.168.50.4" nimbus.vm.hostname = "nimbus" - + nimbus.vm.provision "shell", path: "install-storm.sh", args: STORM_VERSION - + nimbus.vm.provision "shell", path: "config-supervisord.sh", args: "nimbus" - + nimbus.vm.provision "shell", path: "config-supervisord.sh", args: "ui" - + nimbus.vm.provision "shell", path: "config-supervisord.sh", args: "drpc" - + nimbus.vm.provision "shell", path: "start-supervisord.sh" end config.vm.define "supervisor1" do |supervisor| - supervisor.vm.box = "precise32" + supervisor.vm.box = "precise64" supervisor.vm.network "private_network", ip: "192.168.50.5" supervisor.vm.hostname = "supervisor1" - + supervisor.vm.provision "shell", path: "install-storm.sh", args: STORM_VERSION - + supervisor.vm.provision "shell", path: "config-supervisord.sh", args: "supervisor" - + supervisor.vm.provision "shell", path: "config-supervisord.sh", args: "logviewer" - + supervisor.vm.provision "shell", path: "start-supervisord.sh" - + end - + config.vm.define "supervisor2" do |supervisor| - supervisor.vm.box = "precise32" + supervisor.vm.box = "precise64" supervisor.vm.network "private_network", ip: "192.168.50.6" supervisor.vm.hostname = "supervisor2" - + supervisor.vm.provision "shell", path: "install-storm.sh", args: STORM_VERSION - + supervisor.vm.provision "shell", path: "config-supervisord.sh", args: "supervisor" - + supervisor.vm.provision "shell", path: "config-supervisord.sh", args: "logviewer" - + supervisor.vm.provision "shell", path: "start-supervisord.sh" - + end - + # All Vagrant configuration is done here. The most common configuration # options are documented and commented below. For a complete reference,