Skip to content

Commit 6502d28

Browse files
author
Himani Deshpande
committed
[AL2023] yum-utils is not supported in AL2023
* Changing Package repos test to skip checking Repo name for epel
1 parent e47192d commit 6502d28

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

cookbooks/aws-parallelcluster-shared/resources/package_repos/package_repos_alinux2023.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@
2525
include_recipe 'yum'
2626
# include_recipe "yum-epel"
2727

28-
package 'yum-utils' do
29-
retries 3
30-
retry_delay 5
31-
end
28+
# package 'yum-utils' do
29+
# retries 3
30+
# retry_delay 5
31+
# end
3232

3333
# execute 'yum-config-manager-rhel' do
3434
# # Needed by hwloc-devel blas-devel libedit-devel and glibc-static packages

cookbooks/aws-parallelcluster-shared/test/controls/package_repos_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# describe the resource
44
title 'Configure package manager repository'
55

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

0 commit comments

Comments
 (0)