Issue #1761 has been updated by jamtur01.

Status changed from Unreviewed to Needs more information

Okay I have a few issues here.  I've read the threads on the mailing lists.  I 
am still not clear on what to use here.  Also the notes here indicate that 
neither is anyone else.  Is it uname -v for both platforms?  Or something else? 
 Can/Should we distinguish between Solaris 10 and OpenSolaris (in this fact and 
the operatingsystem fact?)?

And a patch would be nice.  
----------------------------------------
Bug #1761: operatingsystemrelease fact should not rely on /etc/release on 
Solaris
http://projects.reductivelabs.com/issues/show/1761

Author: andy
Status: Needs more information
Priority: Normal
Assigned to: 
Category: library
Target version: 1.5.3
Complexity: Trivial
Keywords: solaris, opensolaris


The format of /etc/release is not guaranteed to remain the same and should not 
be relied on.  After introducing this in #1555 Facter broke on OpenSolaris:

<pre>
operatingsystemrelease.rb:79: private method `chomp' called for
nil:NilClass (NoMethodError)
</pre>

On OpenSolaris this fact should be set to the bi-weekly build number (uname 
-v).  I'm not sure what this should be set to on Solaris 10, the current value 
seems a little made up.  As far as I'm aware the proper patch level can also be 
obtained from uname -v on Solaris 10.

This issue has been discussed on puppet-users and osol-discuss lists:
* 
http://groups.google.co.uk/group/puppet-users/browse_thread/thread/ee3507864af9a233?hl=en
* http://ru.opensolaris.org/jive/message.jspa?messageID=299389


----------------------------------------
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---

Reply via email to