forked from plonegovbr/portal.vagrant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
38 lines (32 loc) · 1.05 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
33
34
35
36
37
38
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "portalmodelo"
config.vm.hostname = "portalmodelo"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
config.ssh.forward_agent = true
# config.vm.boot_mode = :gui
# config.vm.network :hostonly, "192.168.33.10"
# config.vm.network :bridged
config.vm.network :forwarded_port, host: 8080, guest: 8080
config.vm.provision :shell do |shell|
shell.path = "manifests/sshagent.sh"
shell.args = RUBY_PLATFORM
end
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "manifests"
puppet.manifest_file = "aptgetupdate.pp"
end
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "manifests"
puppet.manifest_file = "packages.pp"
end
config.vm.provision :shell do |shell|
shell.path = "manifests/clone_project.sh"
shell.args = RUBY_PLATFORM
end
config.vm.provision :shell do |shell|
shell.path = "manifests/run_buildout.sh"
shell.args = RUBY_PLATFORM
end
end