forked from ongr-io/demo.ongr.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
33 lines (29 loc) · 1.17 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.require_version ">= 1.6.5"
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "nfq/wheezy"
config.vm.box_version = "~> 1.1"
config.vm.network :private_network, ip: "192.168.33.64"
config.ssh.forward_agent = true
config.vm.hostname = "ongr.dev"
config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--memory", 1024]
v.customize ["setextradata", :id, "--VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"]
end
config.vm.synced_folder "./", "/var/www", type: "nfs"
config.vm.provision "shell", path: "vagrant/install.sh"
config.vm.provision :puppet do |puppet|
puppet.manifests_path = "./vagrant/manifests"
puppet.facter = { "ssh_username" => "vagrant" }
puppet.options = ["--verbose", "--debug", "--parser future"]
end
config.ssh.shell = "bash -l"
config.ssh.keep_alive = true
config.ssh.forward_agent = false
config.ssh.forward_x11 = false
config.vagrant.host = :detect
end