Skip to content

Commit fb6e593

Browse files
Consolidate nvidia fabric_manager and gdrcopy configure in the resource
Signed-off-by: Francesco Giordano <[email protected]>
1 parent 13334d8 commit fb6e593

20 files changed

+33
-40
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,13 @@
2020
return if arm_instance? || !(node['cluster']['nvidia']['enabled'] == 'yes' || node['cluster']['nvidia']['enabled'] == true)
2121
action_install_package
2222
end
23+
24+
action :configure do
25+
# Start nvidia fabric manager on NVSwitch enabled systems
26+
if get_nvswitches > 1
27+
service 'nvidia-fabricmanager' do
28+
action %i(start enable)
29+
supports status: true
30+
end
31+
end
32+
end

0 commit comments

Comments
 (0)