templates/hiera.yaml in opskeleton-0.9.9 vs templates/hiera.yaml in opskeleton-0.10.1
- old
+ new
@@ -1,10 +1,13 @@
---
-:backends:
- - yaml
- - module_data
-:logger: console
-:hierarchy:
- - '%{::virtual}'
- - common
-:yaml:
- :datadir: hieradata
+version: 5
+
+defaults:
+ datadir: /vagrant/hieradata-dev
+ data_hash: yaml_data
+hierarchy:
+ - name : 'virtual type'
+ path: "%{::virtual}.yaml"
+ - name : 'by hostname'
+ path: "%{::hostname}.yaml"
+ - name: 'common data'
+ path: 'common.yaml'