Working vagrant-salt configuration
[vagrant-mail.git] / test-vagrant-salt / Vagrantfile
CommitLineData
0616782d
NI
1# -*- mode: ruby -*-
2# vi: set ft=ruby :
3
4# All Vagrant configuration is done below. The "2" in Vagrant.configure
5# configures the configuration version (we support older styles for
6# backwards compatibility). Please don't change it unless you know what
7# you're doing.
8Vagrant.configure(2) do |config|
9 config.vm.box = "debian/jessie64"
10 config.vm.network "private_network", ip: "192.168.33.10"
11 config.vm.synced_folder "salt/", "/srv/salt"
12
13 config.vm.provision :salt do |salt|
14 salt.minion_config = "saltconfig"
15 salt.install_type = "stable"
16 #salt.run_highstate = true
17 salt.masterless = true
18 salt.verbose = true
19 salt.colorize = true
20 # https://github.com/mitchellh/vagrant/issues/5973#issuecomment-137276605
21 salt.bootstrap_options = "-F -c /tmp/ -P"
22 end
23end