Home | History | Annotate | Download | only in puppylab
      1 Vagrant.configure("2") do |config|
      2   config.puppet_install.puppet_version = "3.8.4"
      3   config.ssh.insert_key = false
      4 
      5   # Base machine config
      6   config.vm.provider :virtualbox do |virtualbox|
      7     virtualbox.customize ["modifyvm", :id, "--memory", "8048"]
      8     virtualbox.customize ["modifyvm", :id, "--cpuexecutioncap", "100"]
      9     virtualbox.customize ["modifyvm", :id, "--cpus", "10"]
     10   end
     11 
     12   config.vm.box = "base"
     13   config.vm.synced_folder "/usr/local/autotest", "/usr/local/autotest", type: "rsync",
     14     owner: "chromoes-test", group: "root",
     15     rsync__exclude: ["site-packages/", "logs/", "results/", "containers/", "shadow_config.ini", "LICENSE", "NOTICE", ".git/", "chromeos-admin/", "*.box"]
     16   config.vm.provision :puppet do |puppet|
     17     puppet.manifests_path = "%(manifest_path)s"
     18     puppet.manifest_file = "nodes.pp"
     19     puppet.module_path = "%(module_path)s"
     20     puppet.options = "--verbose --debug "
     21     puppet.facter = {
     22       "is_vagrant" => "1",
     23       "server_type" => "core-cluster",
     24     }
     25   end
     26 end
     27