forked from django-oscar/django-oscar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
31 lines (28 loc) · 1.01 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
#
# Before bringing up your Vagrant machine, run:
#
# make puppet
#
# to fetch the puppet modules required to build the VM.
Vagrant::Config.run do |config|
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.forward_port 8080, 8080
config.vm.forward_port 80, 8081
config.vm.forward_port 8082, 8082
config.vm.forward_port 8083, 8083
#config.vm.boot_mode = :gui
# hack to update repos because maikhoepfel can't be asked to learn Puppet to
# debug the order-of-execution bug in site.pp that causes apt-get to fail
# to find MySQL packages
# http://stackoverflow.com/questions/16011294/vagrant-puppet-provisioning-failing
config.vm.provision :shell, :inline => "apt-get update --fix-missing"
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "sites/puppet/manifests"
puppet.manifest_file = "site.pp"
puppet.module_path = "sites/puppet/modules"
#puppet.options = "--debug"
end
end