#
# (c) Jan Gehring <jan.gehring@gmail.com>
#
package
Rex::Inventory::Bios;
use
v5.12.5;
use
warnings;
our
$VERSION
=
'1.16.0'
;
# VERSION
use
Rex::Hardware::Host;
use
Rex::Logger;
sub
get {
if
( Rex::Hardware::Host::get_operating_system() eq
"SunOS"
) {
return
Rex::Inventory::SMBios->new;
}
else
{
return
Rex::Inventory::DMIDecode->new;
}
}
1;