forked from readthedocs/readthedocs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
26 lines (23 loc) · 866 Bytes
/
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
Vagrant.configure(2) do |config|
config.vm.box = "raring64"
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-amd64-vagrant-disk1.box"
config.vm.provider "virtualbox" do |vm|
vm.memory = 1024
vm.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end
config.vm.network "forwarded_port", guest: 8000, host: 8000
config.vm.network "forwarded_port", guest: 9999, host: 9999
config.vm.synced_folder "deploy/salt/", "/srv/salt/"
config.vm.synced_folder(
"./",
"/home/docs/sites/readthedocs.org/checkouts/readthedocs.org",
:mount_options => ["uid=1005,gid=205"]
)
config.vm.provision :salt do |salt|
salt.minion_config = "deploy/salt/minion"
salt.run_highstate = true
salt.verbose = true
salt.install_type = "git"
salt.install_args = "v0.17.5"
end
end