Skip to content

Instantly share code, notes, and snippets.

@zorbash
Created October 2, 2014 19:29
Show Gist options
  • Select an option

  • Save zorbash/4e2b4a016b194a9bb422 to your computer and use it in GitHub Desktop.

Select an option

Save zorbash/4e2b4a016b194a9bb422 to your computer and use it in GitHub Desktop.
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = 'debian_jessie_64'
config.vm.box_url = 'http://vagrant.zorbash.com/boxes/debian_jessie_64.box'
# Make the vm accessible at the defined ip
config.vm.network :private_network, ip: "192.168.77.35"
config.vm.network :forwarded_port, guest: 22, host: 11234
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end
config.ssh.forward_agent = true
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.module_path = "puppet/modules"
puppet.manifest_file = "init.pp"
puppet.options = "--verbose --debug"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment