Saltstack Official Salt Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
725B

  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3. # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
  4. VAGRANTFILE_API_VERSION = "2"
  5. Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  6. config.vm.box = "ubuntu/trusty64"
  7. config.vm.hostname = "salt"
  8. config.vm.synced_folder "./", "/srv/salt", id: "vagrant-root"
  9. config.ssh.forward_agent = true
  10. config.vm.provider :virtualbox do |vb|
  11. # Use VBoxManage to customize the VM. For example to change memory:
  12. vb.customize ["modifyvm", :id, "--memory", "1024"]
  13. end
  14. if Vagrant.has_plugin?("vagrant-cachier")
  15. config.cache.scope = :box
  16. end
  17. # Set up salt-master and minion
  18. config.vm.provision "shell", path: "dev/setup-salt.sh"
  19. end