Skip to content

Commit 078fee9

Browse files
author
Gerard Hickey
committed
Removed slot_info from mem facter module
1 parent 3a4c3a6 commit 078fee9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

hanlon_microkernel/facter/hnl_mk_mem.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,8 @@ def pretty_memory_size(bytes)
200200
end
201201
end
202202

203-
slot_info = memory['memory']['bank_array'].select {|entry| entry['size']}
204-
Facter.add("mk_hw_mem_slot_info") do
205-
setcode { slot_info }
206-
end
203+
# slot info is going to need a bunch of work
204+
#slot_info = memory['memory']['bank_array'].select {|entry| entry['size']}
205+
#Facter.add("mk_hw_mem_slot_info") do
206+
# setcode { slot_info }
207+
#end

0 commit comments

Comments
 (0)