-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
executable file
·32 lines (23 loc) · 1.03 KB
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box"
# config.vm.network :private_network, ip: "200.200.200.200"
config.vm.network :forwarded_port, guest: 80, host: 8080
#config.vm.synced_folder "www", "/home/vagrant/www"
#config.vm.synced_folder "puppet", "/home/vagrant/puppet"
config.vm.provider :virtualbox do |v|
# v.gui = true
# v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--memory", 512]
v.customize ["modifyvm", :id, "--name", "Vagrant-Mozilla-Col"]
end
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