summaryrefslogtreecommitdiff
path: root/Vagrantfile
diff options
context:
space:
mode:
Diffstat (limited to 'Vagrantfile')
-rw-r--r--Vagrantfile26
1 files changed, 9 insertions, 17 deletions
diff --git a/Vagrantfile b/Vagrantfile
index 3ee05e6..b40b97a 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -1,29 +1,21 @@
-# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
-VAGRANTFILE_API_VERSION = "2"
+# -*- mode: ruby -*-
+# vi: set ft=ruby :
-Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
+Vagrant::Config.run do |config|
# Every Vagrant virtual environment requires a box to build off of.
- config.vm.box = "jessie"
-
- # Hostname
- config.vm.hostname = "puppet-bootstrap.example.org"
+ 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.hiera_config_path = "puppet/hiera.yaml"
- puppet.temp_dir = "/etc/puppet"
- puppet.working_directory = "/etc/puppet"
+ puppet.manifest_file = "bootstrap/debian.pp"
+ puppet.manifests_path = "puppet/manifests"
+ puppet.module_path = "puppet/modules"
+ puppet.temp_dir = "/etc/puppet"
end
# Share hiera configuration.
- config.vm.synced_folder "puppet/hiera", "/etc/puppet/hiera"
-
- # Forwarded ports
- #config.vm.network "forwarded_port", guest: 80, host: 8081
+ config.vm.share_folder "hiera", "/etc/puppet/hiera", "puppet/hiera", create: true
end