Skip to content

Instantly share code, notes, and snippets.

@LeftyBC
Created January 12, 2012 00:12
Show Gist options
  • Save LeftyBC/1597627 to your computer and use it in GitHub Desktop.
Save LeftyBC/1597627 to your computer and use it in GitHub Desktop.
Fragment of Lefty's vagrantfile showing puppet provisioner config
config.vm.define :wap_webserver do |wap_webserver|
wap_webserver.vm.box = "centos-60-x86_64"
wap_webserver.vm.provision :puppet do |puppet|
puppet.manifest_file = "wap_webserver.pp"
puppet.module_path = "puppet-modules"
puppet.manifests_path = "puppet-manifests"
end
#wap_webserver.vm.boot_mode = :gui
wap_webserver.vm.forward_port("wap-http",80,8080)
wap_webserver.vm.forward_port("wap-https",443,8443)
wap_webserver.vm.network("33.33.33.101")
wap_webserver.vm.host_name = "wap_webserver"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment