]> gitweb.fluxo.info Git - puppet-bootstrap.git/commitdiff
Fixing hiera config
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 7 Oct 2014 19:17:45 +0000 (16:17 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 7 Oct 2014 19:17:45 +0000 (16:17 -0300)
Vagrantfile
hiera/hiera.yaml

index e7404a96d97f67ecc3a321777fcc68409774f0c5..8999cf010b9e987076ddbcfae39cb0c2046e7b2b 100644 (file)
@@ -10,10 +10,11 @@ Vagrant::Config.run do |config|
 
   # 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.temp_dir       = "/etc/puppet"
+    puppet.manifest_file     = "bootstrap/vagrant.pp"
+    puppet.manifests_path    = "puppet/manifests"
+    puppet.module_path       = "puppet/modules"
+    puppet.temp_dir          = "/etc/puppet"
+    puppet.working_directory = "/etc/puppet"
   end
 
   # Define a Host VM
index 0a23dec504a0d8840bbd0aa437ffd2b2cb2994bd..33acc9e4c0a25731961eabf40abc04193d963841 100644 (file)
@@ -6,6 +6,8 @@
   # a relative datadir. For it to work, we were forced to
   # create a manifests/hiera symlink. This should be
   # reconsidered in the future.
+  #
+  # See http://docs.vagrantup.com/v2/provisioning/puppet_apply.html
   :datadir: hiera
 :hierarchy:
   - '%{::environment}/domain/%{::domain}/node/%{::clientcert}'