-
Notifications
You must be signed in to change notification settings - Fork 4
/
Vagrantfile
28 lines (24 loc) · 1.2 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
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box_url = "http://files.vagrantup.com/precise64.box"
config.vm.box = "precise64"
config.vm.network :forwarded_port, host: 80, guest: 80
config.vm.synced_folder "{{ project_name }}", "/home/vagrant/{{ project_name }}/{{ project_name }}", :owner => "vagrant", :group => "vagrant"
config.vm.synced_folder "requirements", "/home/vagrant/{{ project_name }}/requirements", :owner => "vagrant", :group => "vagrant"
config.vm.synced_folder "salt/salt", "/srv/salt"
config.vm.synced_folder "salt/pillar", "/srv/pillar"
## To setup a private network, uncomment the following.
## You can then map the ip address below to a domain name using /etc/hosts
## eg., "10.0.0.10 dev.my-project.com"
# config.vm.network :private_network, ip: "10.0.0.10"
## To use SSH agent forward, add your public key to ./salt/salt/keys/id_dsa.pub
# config.ssh.forward_agent = true
## Salt Provisioner (requires `vagrant gem install vagrant-salt`)
config.vm.provision :salt do |salt|
salt.run_highstate = true
salt.minion_config = "salt/minion.conf"
# salt.salt_install_type = "git"
# salt.salt_install_args = "develop"
end
end