diff --git a/hieradata/common.yaml b/data/common.yaml similarity index 100% rename from hieradata/common.yaml rename to data/common.yaml diff --git a/hieradata/nodes/example-node.yaml b/data/nodes/example-node.yaml similarity index 100% rename from hieradata/nodes/example-node.yaml rename to data/nodes/example-node.yaml diff --git a/hiera.yaml b/hiera.yaml new file mode 100644 index 0000000..912ba45 --- /dev/null +++ b/hiera.yaml @@ -0,0 +1,12 @@ +--- +version: 5 + +defaults: + datadir: "data" + +hierarchy: + - name: 'Yaml backend' + data_hash: yaml_data + paths: + - "nodes/%{trusted.certname}.yaml" + - 'common.yaml'