-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile
More file actions
25 lines (19 loc) · 919 Bytes
/
Vagrantfile
File metadata and controls
25 lines (19 loc) · 919 Bytes
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
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "puppetlabs/ubuntu-14.04-64-puppet"
config.vm.box_url = "https://vagrantcloud.com/puppetlabs/boxes/ubuntu-14.04-64-puppet/versions/1.0.0/providers/virtualbox.box"
config.vm.network :forwarded_port, guest: 8080, host: 8080
config.vm.provision :shell do |shell|
shell.inline = "mkdir -p /etc/puppet/modules;
puppet module install puppetlabs-git --version 0.3.0 --force;
puppet module install maestrodev-wget --version 1.5.7 --force;
puppet module install puppetlabs-stdlib --version 4.5.0 --force;
puppet module install willdurand/nodejs --version 1.8.4 --force"
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