Skip to content

Commit

Permalink
Support RHEL and CentOS 8
Browse files Browse the repository at this point in the history
Note: CentOS 8 has been EOL for a while, and RHEL 8 is EOL at the end of
May, 2024. Thus, official support may be dropped again soon

Fixes voxpupuli#942
Closes voxpupuli#900
Fixes voxpupuli#816
  • Loading branch information
wyardley committed May 20, 2024
1 parent 6011c2d commit eabaae9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@
default: {
}
}
} elsif ($facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] == '7') {
} elsif ($facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] in ['7', '8']) {
require epel
}

Expand Down
6 changes: 4 additions & 2 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,15 @@
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"7"
"7",
"8"
]
},
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"7"
"7",
"8"
]
},
{
Expand Down

0 comments on commit eabaae9

Please sign in to comment.