-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathVagrantfile
33 lines (26 loc) · 972 Bytes
/
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
Vagrant.configure("2") do |config|
# Try to prevent 'stdin is not a tty' warnings
config.ssh.shell = "bash -c 'BASH_ENV=/etc/profile exec bash'"
# Box
config.vm.box = "puppetlabs/debian-8.2-64-puppet"
# Network-specific configuration
config.vm.hostname = "prestashop"
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 3306, host: 3306
# Shared directory
config.vm.synced_folder "./src", "/var/www/modules/examplemodule",
owner: "www-data",
group: "www-data",
mount_options: ["dmode=775,fmode=664"],
create: true
# Provider-specific configuration
config.vm.provider "virtualbox" do |vb|
vb.memory = 512
vb.cpus = 1
end
# Provisioner-specific configuration
config.vm.provision :puppet do |puppet|
puppet.environment_path = 'puppet/environments'
puppet.environment = 'development'
end
end