Commit a435fc6c5c20686ee6f2a42660ebb1abaa677be1

Authored by Antonio Terceiro
1 parent bafd30eb

Vagrantfile: move database machine up

It needs to be the first one to come up
Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
Vagrantfile
... ... @@ -15,6 +15,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
15 15  
16 16 ips = YAML.load_file('nodes.yaml').first[1]['peers']
17 17  
  18 + config.vm.define 'database' do |database|
  19 + database.vm.network 'private_network', ip: ips['database']
  20 + end
18 21 config.vm.define 'integration' do |integration|
19 22 integration.vm.network 'private_network', ip: ips['integration']
20 23 end
... ... @@ -24,9 +27,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
24 27 config.vm.define 'social' do |social|
25 28 social.vm.network 'private_network', ip: ips['social']
26 29 end
27   - config.vm.define 'database' do |database|
28   - database.vm.network 'private_network', ip: ips['database']
29   - end
30 30 config.vm.define 'reverseproxy' do |reverseproxy|
31 31 reverseproxy.vm.network 'private_network', ip: ips['reverseproxy']
32 32 end
... ...