Skip to content

Commit

Permalink
[AL2023] yum-utils is not supported in AL2023
Browse files Browse the repository at this point in the history
* Changing Package repos test to skip checking Repo name for epel
  • Loading branch information
Himani Deshpande committed Apr 9, 2024
1 parent e47192d commit 6502d28
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
include_recipe 'yum'
# include_recipe "yum-epel"

package 'yum-utils' do
retries 3
retry_delay 5
end
# package 'yum-utils' do
# retries 3
# retry_delay 5
# end

# execute 'yum-config-manager-rhel' do
# # Needed by hwloc-devel blas-devel libedit-devel and glibc-static packages
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
# describe the resource
title 'Configure package manager repository'

only_if { !os_properties.alinux2023? }
# in this case, different OSes produce different outcomes, to be tested differently
if os.redhat? # redhat includes amazon

Expand Down

0 comments on commit 6502d28

Please sign in to comment.