Skip to content
This repository has been archived by the owner on Aug 4, 2018. It is now read-only.

Commit

Permalink
avoid collisions
Browse files Browse the repository at this point in the history
i am the dumb. 172.16.1.0/24 is likely to collide with more users than 172.16.57.0/24
  • Loading branch information
ewdurbin committed Nov 23, 2013
1 parent 952326e commit 4d4cd0b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Vagrant.configure("2") do |config|

config.vm.define "pg_master" do |pg_master|
pg_master.vm.network "private_network", ip: "192.168.57.5"
pg_master.vm.network "private_network", ip: "172.16.1.5"
pg_master.vm.network "private_network", ip: "172.16.57.5"

pg_master.vm.provision :salt do |s|
s.verbose = true
Expand All @@ -52,7 +52,7 @@ Vagrant.configure("2") do |config|

config.vm.define "pg_slave" do |pg_slave|
pg_slave.vm.network "private_network", ip: "192.168.57.6"
pg_slave.vm.network "private_network", ip: "172.16.1.6"
pg_slave.vm.network "private_network", ip: "172.16.57.6"

pg_slave.vm.provision :salt do |s|
s.verbose = true
Expand Down
2 changes: 1 addition & 1 deletion provisioning/salt/roots/pillar/networking.sls
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pypi_internal_network: 172.16.1.0/24
pypi_internal_network: 172.16.57.0/24
4 changes: 2 additions & 2 deletions provisioning/salt/roots/pillar/postgresql/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ firewall:
- 5432

postgresql_cluster:
primary_server: 172.16.1.5
primary_server: 172.16.57.5
standby_servers:
- 172.16.1.6
- 172.16.57.6

0 comments on commit 4d4cd0b

Please sign in to comment.