Skip to content

Commit c21eec7

Browse files
hanwen-clusterhanwen-pcluste
authored andcommitted
[Kitchen test] Fix AMI build failures on develop branch
The bug was introduced in #2617 Signed-off-by: Hanwen <[email protected]>
1 parent 44f3a0a commit c21eec7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cookbooks/aws-parallelcluster-platform/test/controls/arm_pl_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
gcc_major_minor_version = node['cluster']['armpl']['gcc']['major_minor_version']
1919

2020
armpl_module_general_name = "armpl/#{armpl_version}"
21-
armpl_module_name = "armpl/#{armpl_version}_gcc-#{gcc_major_minor_version}"
21+
armpl_module_name = "armpl/#{armpl_version}.0_gcc-#{gcc_major_minor_version}"
2222
gcc_module_name = "armpl/gcc-#{gcc_major_minor_version}"
2323

2424
if os_properties.ubuntu2204?

cookbooks/aws-parallelcluster-platform/test/controls/c_states_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
its('content') { should match(/intel_idle.max_cstate=1/) }
1010
end
1111

12-
if os.redhat8? || os.alinux2? || os.centos7? || os.rocky8?
12+
if os_properties.redhat8? || os_properties.alinux2? || os_properties.centos7? || os_properties.rocky8?
1313

1414
describe file('/boot/grub2/grub.cfg') do
1515
it { should exist }

cookbooks/aws-parallelcluster-shared/test/controls/package_repos_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
end
1313

1414
if os[:name] == 'redhat' && virtualization.system != 'docker'
15-
describe yum.repo('codeready-builder-for-rhel-8-rhui-rpms') do
15+
describe yum.repo("codeready-builder-for-rhel-#{os[:release].to_i}-rhui-rpms") do
1616
it { should exist }
1717
it { should be_enabled }
1818
end

0 commit comments

Comments
 (0)