From 067b035c94dd64d71a47be7735a846616f4d3622 Mon Sep 17 00:00:00 2001 From: Helena Greebe Date: Wed, 24 Jul 2024 11:46:04 -0400 Subject: [PATCH] fix --- .../resources/cloudwatch/partial/_cloudwatch_common.rb | 2 +- .../resources/gdrcopy/partial/_gdrcopy_common_rhel.rb | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cookbooks/aws-parallelcluster-environment/resources/cloudwatch/partial/_cloudwatch_common.rb b/cookbooks/aws-parallelcluster-environment/resources/cloudwatch/partial/_cloudwatch_common.rb index 8fc917d19..df0accab7 100644 --- a/cookbooks/aws-parallelcluster-environment/resources/cloudwatch/partial/_cloudwatch_common.rb +++ b/cookbooks/aws-parallelcluster-environment/resources/cloudwatch/partial/_cloudwatch_common.rb @@ -28,7 +28,7 @@ action_cloudwatch_prerequisite region = node['cluster']['region'] - key_path = "/amazoncloudwatch-agent/assets/amazon-cloudwatch-agent.gpg" + key_path = "amazoncloudwatch-agent/assets/amazon-cloudwatch-agent.gpg" cloudwatch_key_url = "https://s3.amazonaws.com/#{key_path}" if region.start_with?("us-iso") cloudwatch_key_url = "https://s3.#{aws_region}.#{aws_domain}/#{key_path}" diff --git a/cookbooks/aws-parallelcluster-platform/resources/gdrcopy/partial/_gdrcopy_common_rhel.rb b/cookbooks/aws-parallelcluster-platform/resources/gdrcopy/partial/_gdrcopy_common_rhel.rb index c79b6d1a1..2d32d25e8 100644 --- a/cookbooks/aws-parallelcluster-platform/resources/gdrcopy/partial/_gdrcopy_common_rhel.rb +++ b/cookbooks/aws-parallelcluster-platform/resources/gdrcopy/partial/_gdrcopy_common_rhel.rb @@ -16,6 +16,10 @@ def gdrcopy_service 'gdrcopy' end +def gdrcopy_build_dependencies + %w(dkms rpm-build make check check-devel) +end + def installation_code <<~COMMAND CUDA=/usr/local/cuda ./build-rpm-packages.sh