]> git.donarmstrong.com Git - dsa-puppet.git/blob - 3rdparty/modules/staging/Vagrantfile
add nanliu/staging to 3rdparty
[dsa-puppet.git] / 3rdparty / modules / staging / Vagrantfile
1 # -*- mode: ruby -*-
2 # vi: set ft=ruby :
3
4 Vagrant.configure("2") do |config|
5   # All Vagrant configuration is done here. The most common configuration
6   # options are documented and commented below. For a complete reference,
7   # please see the online documentation at vagrantup.com.
8
9   #config.vm.synced_folder "manifests", "/tmp/manifests", "tests"
10   config.vm.synced_folder "./", "/etc/puppet/modules/staging"
11
12   config.vm.define :staging do |m|
13     m.vm.box = "centos63"
14     m.vm.box_url = "https://dl.dropbox.com/s/eqdrqnla4na8qax/centos63.box"
15
16     m.vm.hostname = 'staging'
17     m.vm.provider :vmware_fusion do |v|
18       v.vmx["displayName"] = "staging"
19       v.vmx["memsize"] = 512
20       v.vmx["numvcpus"] = 4
21     end
22
23     m.vm.provision :puppet do |puppet|
24       puppet.manifests_path = "tests"
25       puppet.module_path    = "spec/fixtures/modules/"
26       puppet.manifest_file  = "init.pp"
27     end
28   end
29 end