-
Notifications
You must be signed in to change notification settings - Fork 1
/
Vagrantfile
43 lines (36 loc) · 1.54 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
36
37
38
39
40
41
42
43
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
#config.vm.box = "hashicorp/precise64"
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
# `vagrant box outdated`. This is not recommended.
# config.vm.box_check_update = false
# Networking details
config.vm.hostname = "wx-dashboard.local"
config.vm.network :private_network, ip: "192.168.56.150"
config.ssh.forward_agent = true
config.vm.network "forwarded_port", guest_ip: "10.0.2.15", guest: 3306, host: 33306
config.vm.synced_folder ".", "/vagrant", type: "nfs"
config.hostmanager.enabled = true
config.hostmanager.manage_host = true
config.hostmanager.ignore_private_ip = false
config.hostmanager.include_offline = true
# Enable provisioning with Puppet stand alone. Puppet manifests
# are contained in a directory path relative to this Vagrantfile.
# You will need to create the manifests directory and a manifest in
# the file default.pp in the manifests_path directory.
#
config.vm.provision "puppet" do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.module_path = "puppet/modules"
end
config.vm.provider "vmware_fusion" do |v|
v.vmx["memsize"] = "512"
# Use a more up to date box for newer versions of vmware fusion
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64_vmware.box"
end
end