forked from crdant/vagrant-drupal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
35 lines (29 loc) · 1.41 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
project_name = "Drupal Foundation"
project = "foundation"
Vagrant::Config.run do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "precise64"
# The url from where the 'config.vm.box' box will be fetched if it
# doesn't already exist on the user's system.
config.vm.box_url = "https://vagrant.maloon.de/precise64.box"
# Forward a port from the guest to the host, which allows for outside
# computers to access the VM, whereas host only networking does not.
config.vm.forward_port 81, 6840
# Enable and configure the puppet provisioner
config.vm.provision :puppet do |puppet|
# for debug, uncomment
# puppet.options = "--verbose --debug"
# for verbose, uncomment
# puppet.options = "--verbose"
puppet.module_path = "puppet/modules"
puppet.manifests_path = "puppet/manifests"
end
# adjust the VM configuration for easier operation and so that the name
# makes sense in the Virtual Box GUI
config.vm.customize ["modifyvm", :id, "--memory", "1024"]
config.vm.customize ["modifyvm", :id, "--name", "#{project_name} Development Instance"]
config.vm.customize ["storagectl", :id, "--name", "SATA-Controller", "--hostiocache", "on"]
end