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.

27 lines
763 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. end
  21. end