Mercurial > repos > other > Puppet
comparison modules/inifile/hiera.yaml @ 386:3fce34f642f1
Add a PHP module to handle platform differences
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 03 Jan 2022 17:09:39 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
385:d9009f54eb23 | 386:3fce34f642f1 |
---|---|
1 --- | |
2 version: 5 | |
3 | |
4 defaults: # Used for any hierarchy level that omits these keys. | |
5 datadir: data # This path is relative to hiera.yaml's directory. | |
6 data_hash: yaml_data # Use the built-in YAML backend. | |
7 | |
8 hierarchy: | |
9 - name: "osfamily/major release" | |
10 paths: | |
11 # Used to distinguish between Debian and Ubuntu | |
12 - "os/%{facts.os.name}/%{facts.os.release.major}.yaml" | |
13 - "os/%{facts.os.family}/%{facts.os.release.major}.yaml" | |
14 # Used for Solaris | |
15 - "os/%{facts.os.family}/%{facts.kernelrelease}.yaml" | |
16 - name: "osfamily" | |
17 paths: | |
18 - "os/%{facts.os.name}.yaml" | |
19 - "os/%{facts.os.family}.yaml" | |
20 - name: 'common' | |
21 path: 'common.yaml' |