389
|
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'
|