Skip to content

Commit edb3e46

Browse files
author
Himani Anil Deshpande
committed
[NVIDIA-IMEX] Not check installation of nvidia-imex for Alinux2
1 parent 433ef1b commit edb3e46

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# See the License for the specific language governing permissions and limitations under the License.
1111

1212
control 'tag:install_expected_versions_of_nvidia_imex_installed' do
13-
only_if { ['yes', true, 'true'].include?(node['cluster']['nvidia']['enabled']) }
13+
only_if { ['yes', true, 'true'].include?(node['cluster']['nvidia']['enabled']) && !os_properties.alinux2? }
1414

1515
nvidia_imex_service = 'nvidia-imex'
1616

@@ -41,7 +41,7 @@
4141
end
4242

4343
control 'tag:config_nvidia_fabric_manager_enabled' do
44-
only_if { instance.nvs_switch_enabled? && node['cluster']['node_type'] == "ComputeFleet" }
44+
only_if { instance.nvs_switch_enabled? && node['cluster']['node_type'] == "ComputeFleet" && !os_properties.alinux2? }
4545

4646
describe service('nvidia-imex') do
4747
it { should be_enabled }

0 commit comments

Comments
 (0)