jhoblitt / puppet-smartd

Manages the smartmontools package including the smartd daemon
Other
14 stars 24 forks source link

Error in megaraid_serial #29

Closed razorsedge closed 10 years ago

razorsedge commented 10 years ago

It looks like my RAID controllers do not have serial numbers. This results in several errors output by facter during a Puppet run.

Could not retrieve megaraid_serial: undefined method `size' for nil:NilClass
Could not retrieve megaraid_serial: undefined method `size' for nil:NilClass
Could not retrieve megaraid_serial: undefined method `size' for nil:NilClass
# facter -dp megaraid_serial
Could not retrieve megaraid_serial: undefined method `size' for nil:NilClass
value for megaraid_serial is still nil
# MegaCli -Version -Ctrl -aALL -NoLog

        CTRL VERSION:
        ================

Product Name : Supermicro SMC2208
Serial No : 
Fw Package Build : 23.9.0-0015
FW Version : 3.220.05-1881

Exit Code: 0x00
jhoblitt commented 10 years ago

This should be resolved by #30. I'll be cutting a v2.2.2 release momentarily.

jhoblitt commented 10 years ago

v2.2.2 is on the forge.