23 lines
555 B
Ruby
23 lines
555 B
Ruby
box = 'dev'
|
|
url = 'http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box'
|
|
hostname = 'dev'
|
|
ram = '8192'
|
|
|
|
Vagrant::Config.run do |config|
|
|
config.vm.box = box
|
|
config.vm.box_url = url
|
|
config.vm.host_name = hostname
|
|
|
|
config.vm.customize [
|
|
'modifyvm', :id,
|
|
'--name', hostname,
|
|
'--memory', ram
|
|
]
|
|
|
|
config.vm.provision :puppet do |puppet|
|
|
puppet.manifests_path = 'puppet/manifests'
|
|
puppet.manifest_file = 'site.pp'
|
|
puppet.module_path = 'puppet/modules'
|
|
end
|
|
end
|