Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing the Storm_version file to match the externally exposed zip file(t... #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 26 additions & 26 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down