Facter.add("DmiSystemSerialNumber") do
    setcode 'dmidecode -s system-serial-number'
end