Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

Adding additional providers #125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion vagrant/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "ubuntu/trusty64"
# Parallels specific Ubuntu 14.04 Vagrant box
#config.vm.box = "parallels/ubuntu-14.04"

config.vm.synced_folder "salt/roots/", "/srv/"
config.vm.network "forwarded_port", guest: 5000, host: 5050
Expand All @@ -14,10 +16,24 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.synced_folder "../", "/opt/saltpad-dev"

# VirtualBox provider specifics
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
vb.memory = 1024
vb.cpus = 2
end

# Parallels provider specifics
#config.vm.provider "parallels" do |prl|
# prl.memory = 1024
# prl.cpus = 2
#end

# VMWare provider specifics
#config.vm.provider "vmware_fusion" do |v|
# v.vmx["memsize"] = "1024"
# v.vmx["numvcpus"] = "2"
#end

config.vm.provision :salt do |salt|
salt.install_master = true
salt.install_type = "git"
Expand Down