forked from BedrockStreaming/GithubTeamReviewer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantfile.dist
More file actions
25 lines (20 loc) · 928 Bytes
/
Vagrantfile.dist
File metadata and controls
25 lines (20 loc) · 928 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
Vagrant::Config.run do |config|
config.vm.host_name = "github-team-reviewer"
config.vm.box = "precise32"
config.vm.box_url = "http://files.vagrantup.com/precise32.box"
config.vm.network :hostonly, "10.0.0.2", :netmask => "255.255.255.0"
config.vm.forward_port 9000, 9000
config.vm.share_folder("vagrant-root", "/vagrant", ".", :nfs => false)
$script = <<EOF
puppet module install maestrodev/wget --force --modulepath '/vagrant/modules'
puppet module install puppetlabs/stdlib --force --modulepath '/vagrant/modules'
puppet module install willdurand/nodejs --force --modulepath '/vagrant/modules'
EOF
config.vm.provision :shell, :inline => $script
config.vm.provision :shell, path: "manifests/bootstrap.sh"
config.vm.provision :puppet do |puppet|
puppet.module_path = "modules"
puppet.manifests_path = "manifests"
puppet.manifest_file = "init.pp"
end
end