Issue #7307 has been reported by Rudy Gevaert.
----------------------------------------
Feature #7307: serialnumber on sparc solaris
https://projects.puppetlabs.com/issues/7307
Author: Rudy Gevaert
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Keywords:
Branch:
Affected Facter version: 1.5.9
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.