Skip to content

Instantly share code, notes, and snippets.

@sairez
Created May 14, 2015 13:24
Show Gist options
  • Save sairez/6af777a84fc6653a519c to your computer and use it in GitHub Desktop.
Save sairez/6af777a84fc6653a519c to your computer and use it in GitHub Desktop.
Vagrantfile
Vagrant.configure("2") do |config|
config.ssh.forward_agent = true
config.vm.provision "shell", inline: "echo Hello"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.define "web" do |web|
web.vm.box = "chef/ubuntu-14.04"
end
config.vm.define "db" do |db|
db.vm.box = "chef/ubuntu-14.04"
end
config.vm.define "db-slave" do |db|
db.vm.box = "chef/ubuntu-14.04"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment