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

Commit

Permalink
uncollide ports, fix names
Browse files Browse the repository at this point in the history
  • Loading branch information
ewdurbin committed Nov 18, 2013
1 parent e997076 commit b811445
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ data in `provisioning/salt/roots/pillar` is strictly for development environment
- Start some servers!
- pypi: `vagrant up pypi`
- navigate to http://localhost:8080/pypi and check it out!
- pypi-mirror: `vagrant up pypi-mirror`
- navigate to http://localhost:8080/simple and check it out!
- pypi-mirror: `vagrant up mirror`
- navigate to http://localhost:8081/simple and check it out!

22 changes: 11 additions & 11 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,6 @@ Vagrant.configure("2") do |config|

config.vm.synced_folder "provisioning/salt/roots/", "/srv/"

config.vm.define "mirror" do |mirror|
mirror.vm.network "forwarded_port", guest: 80, host: 8080
mirror.vm.network "forwarded_port", guest: 443, host: 8443

mirror.vm.provision :salt do |s|
s.verbose = true
s.minion_config = "provisioning/salt/minion/mirror-minion"
s.run_highstate = true
end
end

config.vm.define "pypi" do |pypi|
pypi.vm.network "forwarded_port", guest: 80, host: 8080
pypi.vm.network "forwarded_port", guest: 443, host: 8443
Expand All @@ -34,4 +23,15 @@ Vagrant.configure("2") do |config|
s.run_highstate = true
end
end

config.vm.define "mirror" do |mirror|
mirror.vm.network "forwarded_port", guest: 80, host: 8081
mirror.vm.network "forwarded_port", guest: 443, host: 8444

mirror.vm.provision :salt do |s|
s.verbose = true
s.minion_config = "provisioning/salt/minion/mirror-minion"
s.run_highstate = true
end
end
end

0 comments on commit b811445

Please sign in to comment.