Issue #1761 has been updated by jamtur01.

Status changed from Re-opened to Closed
Target version changed from 1.5.3 to 1.5.4


----------------------------------------
Bug #1761: operatingsystemrelease fact should not rely on /etc/release on 
Solaris
http://projects.reductivelabs.com:80/issues/1761

Author: andy
Status: Closed
Priority: Normal
Assigned to: jamtur01
Category: library
Target version: 1.5.4
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