Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (18 sloc) 591 Bytes
Vagrant::Config.run do |config|
# All Vagrant configuration is done here. For a detailed explanation
# and listing of configuration options, please view the documentation
# online.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "lucid32"
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
chef.add_recipe("vagrant_main")
chef.json.merge!({
:mysql => {
:server_root_password => "root"
}
})
end
config.vm.forward_port("http", 80, 8080)
config.vm.forward_port("mysql", 3306, 3306)
end