forked from OpenDataPolicingNC/Traffic-Stops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
43 lines (31 loc) · 1.22 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
Vagrant.require_version ">= 1.7.0"
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network :private_network, ip: "33.33.33.10"
config.vm.provider :virtualbox do |vbox|
vbox.customize ["modifyvm", :id, "--memory", "1024"]
end
config.vm.synced_folder "conf/", "/srv/"
config.vm.provision :shell, :inline => "sudo apt-get update -qq -y"
config.vm.provision :shell, :inline => "sudo apt-get install python-pip git-core python-git python-gnupg haveged -qq -y"
config.vm.provision :salt do |salt|
# Config Options
salt.minion_config = "vagrant/minion.conf"
salt.master_config = "vagrant/master.conf"
# Bootstrap Options Below
# See options here:
# http://bootstrap.saltstack.org
# If you need bleeding edge salt
salt.install_type = "stable"
# Install a master on this machine
salt.install_master = true
# Actions
# Normally we want to run state.highstate to provision the machine
salt.run_highstate = false
# Default will not install / update salt binaries if they are present
# Use this option to always install
salt.always_install = false
# Gives more output, such as from bootstrap script
salt.verbose = true
end
end