Skip to content

Instantly share code, notes, and snippets.

@arusso
Created December 19, 2012 23:03
Show Gist options
  • Save arusso/4341423 to your computer and use it in GitHub Desktop.
Save arusso/4341423 to your computer and use it in GitHub Desktop.
Aaron's Vagrant File
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
config.vm.provision :puppet, :module_path => "modules"
config.vm.define :blank do |node_config|
node_config.vm.box = "centos6-eu"
end
config.vm.define :web0 do |node_config|
node_config.vm.box = "centos6-eu"
node_config.vm.forward_port 80, 8080
node_config.vm.network :hostonly, "192.168.1.100"
node_config.vm.provision :puppet do |p|
p.manifest_file = "web0.pp"
p.manifests_path = "manifests/nodes"
p.module_path = "modules"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment