Updated environment setup

* moved site.pp to manifests/site.pp
 * created hiera.yaml file
 * created hieradata/nodes directory, included in hiera.yaml
This commit is contained in:
Ben Vincent 2023-06-18 17:31:59 +10:00
parent 821874641c
commit 35058651fc
3 changed files with 9 additions and 1 deletions

View File

@ -1,2 +1,2 @@
manifest = site.pp
manifest = manifests/site.pp
modulepath = external_modules:site

8
hiera.yaml Normal file
View File

@ -0,0 +1,8 @@
---
version: 5
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.