diff --git a/cookbooks/aws-parallelcluster-shared/resources/package_repos/package_repos_alinux2023.rb b/cookbooks/aws-parallelcluster-shared/resources/package_repos/package_repos_alinux2023.rb index f868c0446..d21777ac3 100644 --- a/cookbooks/aws-parallelcluster-shared/resources/package_repos/package_repos_alinux2023.rb +++ b/cookbooks/aws-parallelcluster-shared/resources/package_repos/package_repos_alinux2023.rb @@ -24,6 +24,14 @@ action :setup do include_recipe 'yum' # include_recipe "yum-epel" + execute 'yum-config-manager-rhel' do + # Needed by hwloc-devel blas-devel libedit-devel and glibc-static packages + command "yum-config-manager --enable codeready-builder-for-rhel-9-rhui-rpms" + end unless on_docker? + + execute 'yum-config-manager_skip_if_unavail' do + command "yum-config-manager --setopt=\*.skip_if_unavailable=1 --save" + end # package 'yum-utils' do # retries 3 diff --git a/cookbooks/aws-parallelcluster-slurm/resources/slurm_dependencies/slurm_dependencies_alinux2023.rb b/cookbooks/aws-parallelcluster-slurm/resources/slurm_dependencies/slurm_dependencies_alinux2023.rb index 013525d23..d62c301d2 100644 --- a/cookbooks/aws-parallelcluster-slurm/resources/slurm_dependencies/slurm_dependencies_alinux2023.rb +++ b/cookbooks/aws-parallelcluster-slurm/resources/slurm_dependencies/slurm_dependencies_alinux2023.rb @@ -15,7 +15,7 @@ use 'partial/_slurm_dependencies_common' def dependencies - %w(json-c-devel perl perl-Switch lua-devel dbus-devel llhttp) + %w(json-c-devel perl perl-Switch lua-devel dbus-devel http-parser-devel) end action :install_extra_dependencies do