Created
October 21, 2010 10:02
-
-
Save snewman/638235 to your computer and use it in GitHub Desktop.
Used for getting rough timings of vagrant up on new boxes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant::Config.run do |config| | |
config.vm.box = "lucid32" | |
config.vm.provisioner = :chef_solo | |
config.chef.cookbooks_path = "cookbooks" | |
config.chef.add_recipe("vagrant_main") | |
config.vm.define :web1 do |web_config| | |
web_config.vm.forward_port("http", 80, 8080) | |
end | |
config.vm.define :web2 do |web_config| | |
web_config.vm.forward_port("http", 81, 8081) | |
end | |
config.vm.define :web3 do |web_config| | |
web_config.vm.forward_port("http", 82, 8082) | |
end | |
config.vm.define :db do |db_config| | |
db_config.vm.forward_port("db", 3306, 3306) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment