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 616b309
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
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"
]
}
]
}
2 changes: 1 addition & 1 deletion spec/setup_acceptance_node.pp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
if $facts['os']['name'] == 'CentOS' {
if $facts['os']['name'] == ['CentOS', 'AlmaLinux'] {
package { 'epel-release':
ensure => installed,
before => Package['dhcping'],
Expand Down

0 comments on commit 616b309

Please sign in to comment.