summaryrefslogtreecommitdiff
path: root/puppet/hiera.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'puppet/hiera.yaml')
-rw-r--r--puppet/hiera.yaml9
1 files changed, 6 insertions, 3 deletions
diff --git a/puppet/hiera.yaml b/puppet/hiera.yaml
index 01b0d3b8..76584ad1 100644
--- a/puppet/hiera.yaml
+++ b/puppet/hiera.yaml
@@ -6,11 +6,14 @@
:logger: console
:hierarchy:
- - "%{location}"
- - common
+ - hosts/%{fqdn}
+ - services/%{service}
+ - defaults
+# relative from where puppet is run, so we need to run puppet
+# from the root dir of the leap_platform repo
:yaml:
- :datadir: /etc/leap/hieradata
+ :datadir: config
:puppet:
:datasource: data