-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVagrantFile
More file actions
29 lines (23 loc) · 804 Bytes
/
VagrantFile
File metadata and controls
29 lines (23 loc) · 804 Bytes
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
Vagrant.configure("2") do |config|
config.vm.define :server do |server|
server.vm.box = "bento/ubuntu-16.04"
server.vm.host_name = 'vagrant-server'
server.vm.network "private_network", ip: "192.168.50.201"
server.hostsupdater.aliases = [
"s3.encoded.xyz"
]
## For masterless, mount your salt file root
server.vm.synced_folder "saltstack/", "/srv/"
## Use all the defaults:
server.vm.provision :salt do |salt|
salt.masterless = true
salt.minion_config = "saltstack/etc/minion"
salt.run_highstate = true
#salt.minion_key = "saltstack/keys/minion_private.ppk"
#salt.minion_pub = "saltstack/keys/minion.pub"
#salt.install_type = "stable"
salt.verbose = true
salt.colorize = true
end
end
end