From c010a85148694808201f9c6ddd77a9ca548f196a Mon Sep 17 00:00:00 2001 From: Giacomo Marciani Date: Tue, 17 Sep 2024 10:29:19 +0200 Subject: [PATCH] [Dependencies] Rename Enroot+Caps object URL from enroot+caps to enroot-caps to prevent URL encoding issues on RHEL and Debian. Signed-off-by: Giacomo Marciani --- .../resources/enroot/partial/_enroot_debian.rb | 2 +- .../resources/enroot/partial/_enroot_rhel.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_debian.rb b/cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_debian.rb index 47bb0e713..6115772cf 100644 --- a/cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_debian.rb +++ b/cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_debian.rb @@ -41,7 +41,7 @@ def enroot_url end def enroot_caps_url - "#{node['cluster']['artifacts_s3_url']}/dependencies/enroot/enroot%2Bcaps_#{package_version}-1_#{arch_suffix}.deb" + "#{node['cluster']['artifacts_s3_url']}/dependencies/enroot/enroot-caps_#{package_version}-1_#{arch_suffix}.deb" end def arch_suffix diff --git a/cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_rhel.rb b/cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_rhel.rb index bc94cc737..ada01b1b1 100644 --- a/cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_rhel.rb +++ b/cookbooks/aws-parallelcluster-platform/resources/enroot/partial/_enroot_rhel.rb @@ -38,7 +38,7 @@ def enroot_url end def enroot_caps_url - "#{node['cluster']['artifacts_s3_url']}/dependencies/enroot/enroot%2Bcaps-#{package_version}-1.el8.#{arch_suffix}.rpm" + "#{node['cluster']['artifacts_s3_url']}/dependencies/enroot/enroot-caps-#{package_version}-1.el8.#{arch_suffix}.rpm" end def arch_suffix