summaryrefslogtreecommitdiffstats
path: root/data/hiera.yaml
diff options
context:
space:
mode:
authorJames Shubin <james@shubin.ca>2014-12-16 13:01:49 -0500
committerJames Shubin <james@shubin.ca>2014-12-16 13:24:27 -0500
commit43c60d2ddd6f57d2117585dc149de6653bdabd4b (patch)
tree92bc51611414500970254ad88d3e5fb2fe0f7a86 /data/hiera.yaml
parenta5a2a412c64a9902954b25c9b9f4c1ac9be260fb (diff)
downloadpuppet-gluster-43c60d2ddd6f57d2117585dc149de6653bdabd4b.tar.gz
puppet-gluster-43c60d2ddd6f57d2117585dc149de6653bdabd4b.tar.xz
puppet-gluster-43c60d2ddd6f57d2117585dc149de6653bdabd4b.zip
Replace the hard-coded gluster operating version table with hiera data.
Diffstat (limited to 'data/hiera.yaml')
-rw-r--r--data/hiera.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/hiera.yaml b/data/hiera.yaml
index 52b83b5..a7cbb93 100644
--- a/data/hiera.yaml
+++ b/data/hiera.yaml
@@ -1,6 +1,8 @@
# gluster/data/hiera.yaml
---
:hierarchy:
+- versions/%{::gluster_major_version}/%{::gluster_version}
+- versions/%{::gluster_major_version}
- tree/%{::osfamily}/%{::operatingsystem}/%{::operatingsystemrelease}
- tree/%{::osfamily}/%{::operatingsystem}
- tree/%{::osfamily}