Skip to content

Commit

Permalink
metadata.json: Add EL 9 (CentOS, Alma, Rocky, Oracle) support
Browse files Browse the repository at this point in the history
This also adjusts hiera.yaml to reduce the amount of data that need to
be duplicated. This hiera.yaml is now effectively the same as the
hiera.yaml used by default with PDK: https://github.com/puppetlabs/pdk-templates/blob/main/moduleroot_init/hiera.yaml.erb
  • Loading branch information
kenyon authored and h0tw1r3 committed Dec 18, 2023
1 parent 1a880a5 commit 5f70059
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 4 deletions.
1 change: 0 additions & 1 deletion data/os/CentOS.7.yaml

This file was deleted.

1 change: 0 additions & 1 deletion data/os/CentOS.8.yaml

This file was deleted.

8 changes: 6 additions & 2 deletions hiera.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ defaults:
data_hash: 'yaml_data'
hierarchy:
- name: 'Distribution name and major version'
path: "os/%{facts.os.name}.%{facts.os.release.major}.yaml"
paths:
- "os/%{facts.os.name}.%{facts.os.release.major}.yaml"
- "os/%{facts.os.family}.%{facts.os.release.major}.yaml"
- name: 'Distribution family'
path: "os/%{facts.os.family}.yaml"
paths:
- "os/%{facts.os.name}.yaml"
- "os/%{facts.os.family}.yaml"
24 changes: 24 additions & 0 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@
],
"issues_url": "https://github.com/voxpupuli/puppet-puppetboard/issues",
"operatingsystem_support": [
{
"operatingsystem": "AlmaLinux",
"operatingsystemrelease": [
"9"
]
},
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"9"
]
},
{
"operatingsystem": "Debian",
"operatingsystemrelease": [
Expand All @@ -27,6 +39,18 @@
"13"
]
},
{
"operatingsystem": "OracleLinux",
"operatingsystemrelease": [
"9"
]
},
{
"operatingsystem": "Rocky",
"operatingsystemrelease": [
"9"
]
},
{
"operatingsystem": "Ubuntu",
"operatingsystemrelease": [
Expand Down

0 comments on commit 5f70059

Please sign in to comment.