02512cccbc
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
17 lines
460 B
YAML
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'
|