Skip to content

Instantly share code, notes, and snippets.

@marcioviegas
Last active September 17, 2015 18:28
Show Gist options
  • Save marcioviegas/c101b2f7c34942f126ce to your computer and use it in GitHub Desktop.
Save marcioviegas/c101b2f7c34942f126ce to your computer and use it in GitHub Desktop.
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "hashicorp/precise32"
config.vm.define :db do |db_config|
db_config.vm.network :private_network, :ip => "192.168.33.10"
db_config.vm.provision "puppet" do |puppet|
puppet.manifest_file = "db.pp"
end
end
config.vm.define :web do |web_config|
web_config.vm.network :private_network, :ip => "192.168.33.12"
web_config.vm.provision "puppet" do |puppet|
puppet.manifest_file = "web.pp"
end
end
config.vm.define :monitor do |monitor_config|
monitor_config.vm.network :private_network, :ip => "192.168.33.14"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment