From f4d2273836361928e357035f9bec981861ac4bb9 Mon Sep 17 00:00:00 2001 From: Jacopo De Amicis Date: Thu, 5 Oct 2023 20:00:26 +0200 Subject: [PATCH] Fix Slurm license copying block in Chef Signed-off-by: Jacopo De Amicis --- .../aws-parallelcluster-slurm/recipes/install/install_slurm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cookbooks/aws-parallelcluster-slurm/recipes/install/install_slurm.rb b/cookbooks/aws-parallelcluster-slurm/recipes/install/install_slurm.rb index d295ac5ad..b1a004338 100644 --- a/cookbooks/aws-parallelcluster-slurm/recipes/install/install_slurm.rb +++ b/cookbooks/aws-parallelcluster-slurm/recipes/install/install_slurm.rb @@ -104,7 +104,7 @@ cwd Chef::Config[:file_cache_path] code <<-SLURMLICENSE set -e - cd slurm-slurm-#{slurm_version} + cd slurm-#{slurm_tar_name} cp -v COPYING #{node['cluster']['license_dir']}/slurm/COPYING cp -v DISCLAIMER #{node['cluster']['license_dir']}/slurm/DISCLAIMER cp -v LICENSE.OpenSSL #{node['cluster']['license_dir']}/slurm/LICENSE.OpenSSL