Skip to content

Commit eabaae9

Browse files
committed
Support RHEL and CentOS 8
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
1 parent 6011c2d commit eabaae9

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

manifests/init.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@
507507
default: {
508508
}
509509
}
510-
} elsif ($facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] == '7') {
510+
} elsif ($facts['os']['family'] == 'RedHat' and $facts['os']['release']['major'] in ['7', '8']) {
511511
require epel
512512
}
513513

metadata.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@
1111
{
1212
"operatingsystem": "RedHat",
1313
"operatingsystemrelease": [
14-
"7"
14+
"7",
15+
"8"
1516
]
1617
},
1718
{
1819
"operatingsystem": "CentOS",
1920
"operatingsystemrelease": [
20-
"7"
21+
"7",
22+
"8"
2123
]
2224
},
2325
{

0 commit comments

Comments
 (0)