From b6e9e905a8adc824bec871570184c2aae0fe18ba Mon Sep 17 00:00:00 2001 From: dhyan Date: Sat, 22 Nov 2014 21:18:08 -0500 Subject: [PATCH 1/2] Fixing the Storm_version file to match the externally exposed zip file(the one in wget) --- Vagrantfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index dbf0965..713719e 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -3,7 +3,7 @@ # 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.0.1" STORM_ARCHIVE = "#{STORM_VERSION}.zip" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| From b9b7adf7cefe70d13fcece212c28b26a9896b7a3 Mon Sep 17 00:00:00 2001 From: Dhyan Date: Fri, 13 Mar 2015 08:55:35 -0400 Subject: [PATCH 2/2] Using precise64 Use storm zip from storm official mirror --- Vagrantfile | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 713719e..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.0.1" +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,