Closed pm5 closed 8 years ago
Good catch! I'd been commenting out the "master" machine when developing. One option would be to just have a single machine in the Vagrantfile
.
Well, if two machines are not required for every scenario then I'd say auto correction is good enough. That way anyone using only one machine can still choose to comment out the other and expect the same behavior.
I'm just starting to work with this codebase, so I'm not sure if production-style testing in vagrant is much needed. Sounds reasonable for me to keep it, though.
The fix: #80
I just started setting up a dev environment. Following the instructions in INSTALL, the
vagrant up
step brings up some error messages:Looking at the Vagrantfile it seems that it's trying to setup two machines ("dev" and "master") with the same forwarded port mapping. Thus the port collision. Adding
auto_correct: true
fixed the problem for me.Maybe we should assign two sets of fixed port mapping for the two machines. Thoughts?