File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
cookbooks/aws-parallelcluster-platform
resources/nvidia_imex/partial Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 6464 # Start nvidia-imex on p6e-gb200 and only on ComputeFleet
6565 if get_nvswitch_count ( get_device_ids [ 'gb200' ] ) > 1
6666 service nvidia_imex_service do
67- action %i( start enable )
67+ action %i( enable start )
6868 supports status : true
6969 end
7070 end
Original file line number Diff line number Diff line change @@ -305,11 +305,11 @@ def self.configure(chef_run)
305305
306306 if ( platform == 'amazon' && version == '2' ) || %w( HeadNode LoginNode ) . include? ( node_type )
307307 it 'does not configure nvidia-imex' do
308- is_expected . not_to start_service ( 'nvidia-imex' ) . with_action ( %i( start enable ) ) . with_supports ( { status : true } )
308+ is_expected . not_to start_service ( 'nvidia-imex' ) . with_action ( %i( enable start ) ) . with_supports ( { status : true } )
309309 end
310310 else
311311 it 'it starts nvidia-imex service' do
312- is_expected . to start_service ( 'nvidia-imex' ) . with_action ( %i( start enable ) ) . with_supports ( { status : true } )
312+ is_expected . to start_service ( 'nvidia-imex' ) . with_action ( %i( enable start ) ) . with_supports ( { status : true } )
313313 end
314314 end
315315 end
@@ -332,7 +332,7 @@ def self.configure(chef_run)
332332 end
333333
334334 it 'does not configure nvidia-imex' do
335- is_expected . not_to start_service ( 'nvidia-imex' ) . with_action ( %i( start enable ) ) . with_supports ( { status : true } )
335+ is_expected . not_to start_service ( 'nvidia-imex' ) . with_action ( %i( enable start ) ) . with_supports ( { status : true } )
336336 end
337337 end
338338 end
You can’t perform that action at this time.
0 commit comments