Skip to content

Commit

Permalink
update to 3.0.0-rc9
Browse files Browse the repository at this point in the history
  • Loading branch information
seif committed Sep 14, 2014
1 parent 5ec741f commit 8889a7a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 22 deletions.
3 changes: 1 addition & 2 deletions Berksfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
site :opscode

cookbook 'mono', github: 'Youscribe/cookbook-mono'
cookbook 'eventstore'
cookbook 'eventstore', github: 'seif/eventstore-cookbook'
30 changes: 10 additions & 20 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ Vagrant.configure("2") do |cluster|

seeds.each do |seed|
cluster.vm.define seed['name'] do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.box = "ubuntu/trusty64"
config.vm.provider(:virtualbox) { |v| v.customize ["modifyvm", :id, "--memory", 1024] }

config.vm.hostname = seed['name']
Expand All @@ -39,26 +38,17 @@ Vagrant.configure("2") do |cluster|
# Provision using Chef.
config.vm.provision :chef_solo do |chef|
chef.json = {
:mono => {
:install_method => "ppa"
},
:eventstore => {
:version => "2.5.0rc4",
:source_uri => "http://ha.geteventstore.com/showcase/",
:bin_filename => "EventStore-Mono-v2.5.0rc4.tar.gz",
:command => "./clusternode",
:install_dir => "/usr/local/eventstore/",
:executable_dir => "/usr/local/eventstore/EventStore-Mono-v2.5.0rc4",
:config => {
:internalIp => seed['ip'],
:externalIp => seed['ip'],
:internalHttpPort => 2113,
:externalHttpPort => 2114,
:internalTcpPort => 1111,
:externalTcpPort => 1112,
:clusterSize => NODE_COUNT,
:useDnsDiscovery => false,
:gossipSeed => seeds.reject{|s| s['index'] == seed['index']}.map{|i| "#{i['ip']}:2113"}
:IntIp => seed['ip'],
:ExtIp => seed['ip'],
:IntHttpPort => 2113,
:ExtHttpPort => 2114,
:IntTcpPort => 1111,
:ExtTcpPort => 1112,
:ClusterSize => NODE_COUNT,
:DiscoverViaDns => false,
:GossipSeed => seeds.reject{|s| s['index'] == seed['index']}.map{|i| "#{i['ip']}:2113"}
}
}
}
Expand Down

0 comments on commit 8889a7a

Please sign in to comment.