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.

35 lines
925 B

  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3. VAGRANT_CONFIG_VERSION = "2"
  4. Vagrant.configure(VAGRANT_CONFIG_VERSION) do |config|
  5. config.vm.box = "ubuntu/xenial64"
  6. # Main application folder
  7. config.vm.synced_folder "tildes/", "/opt/tildes/"
  8. # Mount the salt file root and pillar root
  9. config.vm.synced_folder "salt/salt/", "/srv/salt/"
  10. config.vm.synced_folder "salt/pillar/", "/srv/pillar/"
  11. config.vm.network "forwarded_port", guest: 443, host: 4443
  12. config.vm.network "forwarded_port", guest: 9090, host: 9090
  13. # Masterless salt provisioning
  14. config.vm.provision :salt do |salt|
  15. salt.masterless = true
  16. salt.minion_config = "salt/minion"
  17. salt.run_highstate = true
  18. salt.verbose = true
  19. salt.log_level = "info"
  20. salt.install_type = "stable"
  21. salt.version = "2019.2.3"
  22. end
  23. config.vm.provider "virtualbox" do |vb|
  24. vb.memory = "4096"
  25. vb.cpus = "4"
  26. end
  27. end