-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathVagrantfile
34 lines (28 loc) · 1.08 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provider "virtualbox" do |v|
v.memory = 1024
v.cpus = 2
end
# Setup ports on your local box to talk to some of the services on the Vagrant box
# 'guest' is the Vagrant box, 'host' is your box
config.vm.network "forwarded_port", guest: 8095, host: 8095 # raspberry pis
config.vm.network "forwarded_port", guest: 3000, host: 3000 # querysrv
config.vm.network "forwarded_port", guest: 8080, host: 8080 # web
config.vm.network "forwarded_port", guest: 5858, host: 5858 # node-debug
config.vm.network "public_network"
config.ssh.forward_agent = true
config.vm.synced_folder "..", "/vagrant"
config.vm.provision :salt do |salt|
salt.colorize = true
salt.log_level = "info"
salt.masterless = true
salt.minion_config = "etc/minion"
salt.run_highstate = true
# Some fix I found on a github issue to get salt to work
salt.bootstrap_options = '-F -c /tmp/ -P'
end
end