puppet-vswitch/hiera.yaml
Takashi Kajinami 10f574dc53 Replace params by hieradata
The params class is the legacy approach to define OS/version specific
values. This replaces the params class by the module hieradata
following the recent standard.

Change-Id: I046267279720e969b0ddde821fafff00e517e728
2023-10-17 11:05:19 +09:00

17 lines
460 B
YAML

---
version: 5
defaults:
datadir: 'data'
data_hash: 'yaml_data'
hierarchy:
- name: 'Major operating system version'
path: '%{facts.os.name}-%{facts.os.release.major}.yaml'
- name: 'Operating system'
path: '%{facts.os.release.major}.yaml'
- name: 'Major OS Family version'
path: '%{facts.os.family}-%{facts.os.release.major}.yaml'
- name: 'OS Family'
path: '%{facts.os.family}-family.yaml'
- name: 'Common'
path: 'common.yaml'