summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-02-23 13:05:49 +0100
committervarac <varacanero@zeromail.org>2016-02-23 13:05:49 +0100
commit7c12520c65f4efc6342a77eb208772c1be006286 (patch)
tree5d5e6acbfbe9c834f0341fcfb7117b525dc8228f
parentf6297a1b8f776875689deaab9b1fb0c76b4b21a3 (diff)
Add hiera.yaml so vagrant provision doesn't complain about it missing
Warning: Config file /etc/puppet/hiera.yaml not found, using Hiera defaults
-rw-r--r--Vagrantfile1
-rw-r--r--hiera.yaml6
2 files changed, 7 insertions, 0 deletions
diff --git a/Vagrantfile b/Vagrantfile
index 43f3ab15..3654b69e 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -25,6 +25,7 @@ Vagrant.configure("2") do |box|
puppet.module_path = "./puppet/modules"
puppet.manifest_file = "install-platform.pp"
puppet.options = "--verbose"
+ puppet.hiera_config_path = "hiera.yaml"
end
config.vm.provision "shell", path: "vagrant/configure-leap.sh"
config.ssh.username = "vagrant"
diff --git a/hiera.yaml b/hiera.yaml
new file mode 100644
index 00000000..3ff857b8
--- /dev/null
+++ b/hiera.yaml
@@ -0,0 +1,6 @@
+---
+:backends: yaml
+:yaml:
+ :datadir: /var/lib/hiera
+:hierarchy: common
+:logger: console