Skip to content

Instantly share code, notes, and snippets.

@lorn
Last active October 9, 2018 06:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save lorn/3717965 to your computer and use it in GitHub Desktop.
Save lorn/3717965 to your computer and use it in GitHub Desktop.
Vagrant
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.provider :virtualbox do |vb|
vb.name = "app.intranet"
vb.customize [ 'modifyvm', :id, '--memory', '512' ]
vb.customize [ 'modifyvm', :id, '--cpus', '1' ]
end
config.vm.network :private_network, ip: "192.168.0.11"
config.vm.synced_folder "/Users/lorn/src/", "/Projects"
config.vm.box = "precise64"
config.vm.hostname = "app.intranet"
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.manifest_file = "site.pp"
puppet.module_path = "puppet/modules"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment