diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-09-18 12:46:28 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-09-18 12:46:28 -0300 |
commit | 12bedcb9dc59316fcbb38bf1592ef73dace30d15 (patch) | |
tree | ab3c8fb8fae68f3b20f93899112e43d57da2a5e1 /Vagrantfile | |
download | debian-12bedcb9dc59316fcbb38bf1592ef73dace30d15.tar.gz debian-12bedcb9dc59316fcbb38bf1592ef73dace30d15.tar.bz2 |
Initial import
Diffstat (limited to 'Vagrantfile')
-rw-r--r-- | Vagrantfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..3f70485 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,21 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant::Config.run do |config| + # Every Vagrant virtual environment requires a box to build off of. + config.vm.box = "wheezy" + + # Shell provisioner to setup basic environment. + config.vm.provision :shell, :inline => "/vagrant/puppet/bin/provision" + + # Enable provisioning with Puppet stand alone. + config.vm.provision :puppet do |puppet| + puppet.manifest_file = "bootstrap/vagrant.pp" + puppet.manifests_path = "puppet/manifests" + puppet.module_path = "puppet/modules" + puppet.pp_path = "/etc/puppet" + end + + # Share hiera configuration. + config.vm.share_folder "hiera", "/etc/puppet/hiera", "puppet/hiera", create: true +end |