Skip to content

Commit

Permalink
Update Amazon Linux 2 bindings
Browse files Browse the repository at this point in the history
Previously, Puppet tested Red Hat Enterprise Linux 7 packages against
Amazon Linux 2, assuming they were binary-compatible. This commit
updates beaker-hostgenerator to map AL2 packages to AL2 testing
machines. (Note: AL2 is referred to in Vanagon and ABS as Amazon Linux
7, in reference to the assumed compatibility with RHEL7).
  • Loading branch information
mhashizume committed May 17, 2024
1 parent 052da22 commit bb55f02
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions lib/beaker-hostgenerator/data.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,22 +114,6 @@ def osinfo
'template' => 'amazon-6-x86_64',
},
},
'amazon7-64' => {
general: {
'platform' => 'el-7-x86_64',
},
abs: {
'template' => 'amazon-7-x86_64',
},
},
'amazon7-ARM64' => {
general: {
'platform' => 'el-7-aarch64',
},
abs: {
'template' => 'amazon-7-arm64',
},
},
'archlinuxrolling-64' => {
general: {
'platform' => 'archlinux-rolling-x64',
Expand Down Expand Up @@ -1129,6 +1113,8 @@ def generate_osinfo
end

# Amazon Linux
yield %w[amazon7-64 amazon-7-x86_64]
yield %w[amazon7-AARCH64 amazon-7-aarch64]
yield %w[amazon2023-64 amazon-2023-x86_64]
yield %w[amazon2023-AARCH64 amazon-2023-aarch64]

Expand Down

0 comments on commit bb55f02

Please sign in to comment.