diff --git a/cookbooks/aws-parallelcluster-environment/resources/lustre/partial/_install_lustre_debian.rb b/cookbooks/aws-parallelcluster-environment/resources/lustre/partial/_install_lustre_debian.rb index 78a7b13149..13a797c7f8 100644 --- a/cookbooks/aws-parallelcluster-environment/resources/lustre/partial/_install_lustre_debian.rb +++ b/cookbooks/aws-parallelcluster-environment/resources/lustre/partial/_install_lustre_debian.rb @@ -14,6 +14,7 @@ # See the License for the specific language governing permissions and limitations under the License. action :setup do + return if node['platform_version'].to_i == 24 apt_repository 'fsxlustreclientrepo' do uri "https://fsx-lustre-client-repo.s3.amazonaws.com/ubuntu" components ['main'] diff --git a/cookbooks/aws-parallelcluster-platform/test/controls/install_packages_spec.rb b/cookbooks/aws-parallelcluster-platform/test/controls/install_packages_spec.rb index 647580b985..75dfb00abc 100644 --- a/cookbooks/aws-parallelcluster-platform/test/controls/install_packages_spec.rb +++ b/cookbooks/aws-parallelcluster-platform/test/controls/install_packages_spec.rb @@ -17,7 +17,7 @@ # Verify jq version is updated enough to accept 2 argfile parameters describe bash("jq --argfile") do its('stderr') { should match /jq: --argfile takes two parameters/ } - end unless instance.custom_ami? || os_properties.alinux2023? + end unless instance.custom_ami? || os_properties.alinux2023? || os_properties.ubuntu2404? # Need to change the jq --argfile commands as its deprecated in 1.7( latest) unless os_properties.centos7?