From 47e4fc9912cb2d45be8778f90bd4ca08b3c00226 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sun, 18 Jun 2023 17:37:49 +1000 Subject: [PATCH] Added name key to each node under hierarchy --- hiera.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hiera.yaml b/hiera.yaml index c5cad1d..600c7fd 100644 --- a/hiera.yaml +++ b/hiera.yaml @@ -4,5 +4,7 @@ defaults: datadir: "hieradata" data_hash: "yaml_data" hierarchy: - - path: "nodes/%{trusted.certname}.yaml" # Node-specific data, overrides other levels. - - path: "common.yaml" # Common data shared across nodes. + - name: Node-specific data + path: "nodes/%{trusted.certname}.yaml" + - name: Common data shared across nodes + path: "common.yaml"