puppet-ovn/hiera.yaml
Takashi Kajinami 02512cccbc 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.

Depends-on: https://review.opendev.org/c/openstack/puppet-vswitch/+/886112
Change-Id: I8d01236c04cf2b61f1c1bf39ecf54ca0a67a33a9
2023-10-23 23:30:45 +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'