Issue #7307 has been updated by James Turnbull. Category set to library Status changed from Accepted to Ready For Testing Target version set to 1.6.0 Branch set to https://github.com/jamtur01/facter/tree/tickets/master/7307
---------------------------------------- Feature #7307: serialnumber on sparc solaris https://projects.puppetlabs.com/issues/7307 Author: Rudy Gevaert Status: Ready For Testing Priority: Normal Assignee: Category: library Target version: 1.6.0 Keywords: Branch: https://github.com/jamtur01/facter/tree/tickets/master/7307 Affected Facter version: On a solaris sparc machines it isn't possible to get the serialnumber. In bug #5325 support for manufacturer and productname was added. This can easily be extended so that the serialnumber can be provided too. Just add the following in util/manufacturer.rb at the end of prtdiag_sparc_find_system_info(). <pre> Facter.add('serialnumber') do setcode do Facter::Util::Resolution.exec("/usr/sbin/sneep") end end </pre> <pre> root@pano:facter# facter serialnumber BEL080466T </pre> -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
