Skip to content

Commit ab1d210

Browse files
committed
Fixed IPMI module where some facts had periods
1 parent a433bfb commit ab1d210

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hanlon_microkernel/facter/hnl_mk_ipmi.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@
6767
end
6868

6969
attributes.each_pair do |fact,value|
70-
Facter.add(fact) do
70+
# facts are not allowed to have periods in them
71+
Facter.add(fact.tr('.', '_') ) do
7172
setcode { value }
7273
end
7374
end

0 commit comments

Comments
 (0)