Skip to content

Commit c65f238

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hanlon_microkernel/facter/hnl_mk_ipmi.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@
6767
end
6868

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

0 commit comments

Comments
 (0)