-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathVagrantfile
36 lines (29 loc) · 1.34 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
# 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|
# Vagrant Box
config.vm.box = "precise64"
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
# Salt Provisioner
config.vm.provision :salt do |salt|
# Relative location of configuration file to use for minion
# since we need to tell our minion to run in masterless mode
salt.minion_config = "saltstack/etc/minion"
# On provision, run state.highstate (which installs packages, services, etc).
# Highstate basicly means "comapre the VMs current machine state against
# what it should be and make changes if necessary".
salt.run_highstate = true
# What version of salt to install, and from where.
# Because by default it will install the latest, its better to explicetly
# choose when to upgrade what version of salt to use.
# I also prefer to install from git so I can specify a version.
salt.install_type = "git"
salt.install_args = "v2014.1.0"
# Run in verbose mode, so it will output all debug info to the console.
# This is nice to have when you are testing things out. Once you know they
# work well you can comment this line out.
salt.verbose = true
end
end