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.

Vagrantfile 1.0KB

12345678910111213141516171819202122232425262728293031
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3. #
  4. # Before bringing up your Vagrant machine, run:
  5. #
  6. # make puppet
  7. #
  8. # to fetch the puppet modules required to build the VM.
  9. Vagrant::Config.run do |config|
  10. config.vm.box = "precise64"
  11. config.vm.box_url = "http://files.vagrantup.com/precise64.box"
  12. config.vm.forward_port 8080, 8080
  13. config.vm.forward_port 80, 8081
  14. config.vm.forward_port 8082, 8082
  15. config.vm.forward_port 8083, 8083
  16. #config.vm.boot_mode = :gui
  17. # hack to update repos because maikhoepfel can't be asked to learn Puppet to
  18. # debug the order-of-execution bug in site.pp that causes apt-get to fail
  19. # to find MySQL packages
  20. # http://stackoverflow.com/questions/16011294/vagrant-puppet-provisioning-failing
  21. config.vm.provision :shell, :inline => "apt-get update --fix-missing"
  22. config.vm.provision :puppet do |puppet|
  23. puppet.manifests_path = "sites/puppet/manifests"
  24. puppet.manifest_file = "site.pp"
  25. puppet.module_path = "sites/puppet/modules"
  26. #puppet.options = "--debug"
  27. end
  28. end