Skip to content

Commit

Permalink
Add AlmaLinux 8 & 9 support
Browse files Browse the repository at this point in the history
Added AlmaLinux 8 and 9 to the supported operating systems in metadata.json.

These changes ensure that we start testing with AlmaLinux 8 and 9 instead
of CentOS 8 Stream. This update is part of our transition to better support
AlmaLinux in our Puppet modules.

See, for details: theforeman/foreman-infra#2087
  • Loading branch information
archanaserver committed Jul 16, 2024
1 parent 70f4d04 commit a6e142c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,13 @@
"operatingsystemrelease": [
"4"
]
},
{
"operatingsystem": "AlmaLinux",
"operatingsystemrelease": [
"8",
"9"
]
}
]
}
4 changes: 2 additions & 2 deletions spec/setup_acceptance_node.pp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if $facts['os']['name'] == 'CentOS' {
package { 'epel-release':
if $facts['os']['family'] == 'RedHat' and $facts['os']['name'] != 'Fedora' {
package { 'epel-release':
ensure => installed,
before => Package['dhcping'],
}
Expand Down

0 comments on commit a6e142c

Please sign in to comment.