forked from vagrantpress/vagrantpress
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVagrantfile
executable file
·35 lines (27 loc) · 1.15 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "bento/ubuntu-16.04"
config.vm.synced_folder ".", "/vagrant", :owner => "www-data"
# Uncomment the following line and change the first path to the path of your
# development theme
# config.vm.synced_folder "/home/example/development/my-grav-theme", "/vagrant/grav-admin/user/themes/example", :owner => "www-data"
# Setup virtual hostname and provision local IP
config.vm.hostname = "grav.dev"
config.vm.network :private_network, :ip => "192.168.33.10"
config.hostsupdater.aliases = %w{www.grav.dev}
config.hostsupdater.remove_on_suspend = true
# Allows running commands globally in shell for installed composer libraries
config.vm.provision :shell, path: "files/scripts/install-puppet.sh"
config.vm.provision :puppet do |puppet|
puppet.environment = "production"
puppet.environment_path = "../../"
puppet.manifests_path = "puppet/manifests"
puppet.module_path = "puppet/modules"
puppet.manifest_file = "init.pp"
# puppet.options = "--verbose --debug"
end
config.vm.provider :virtualbox do |vb|
vb.memory = 2048
end
end