Created
December 19, 2012 23:03
-
-
Save arusso/4341423 to your computer and use it in GitHub Desktop.
Aaron's Vagrant File
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
# -*- 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