# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.box = '<%=box%>' <%if(options['box_url']) %> <%="config.vm.box_url = '#{options['box_url']}'"%> <%end%> config.vm.network :public_network config.vm.hostname = '<%=name%>.local' config.vm.provider :virtualbox do |vb| vb.customize ['modifyvm', :id, '--memory', 2048, '--cpus', 2] end config.vm.provision :puppet do |puppet| puppet.manifests_path = 'manifests' puppet.manifest_file = 'default.pp' puppet.options = '--modulepath=/vagrant/modules:/vagrant/static-modules --hiera_config /vagrant/hiera.yaml' end end