Issue #1761 has been updated by realist.
realist wrote: > Since 'uname -v' (on Solaris 10) returns the kernel patch-id, it > should probably be the return value for the kernelversion fact. > > It then seems reasonable that the operatingsystemrelease should > default to the kernel release, i.e. 'uname -r' > The behavior of the fix applied in "e6d987d":http://projects.reductivelabs.com/projects/facter/repository/revisions/e6d987d333d79e11dd8782fad1286d8348419842 was also reported and confirmed as a regression on the following "puppet-user post":http://groups.google.com/group/puppet-users/msg/01772a14474097c8 ---------------------------------------- Bug #1761: operatingsystemrelease fact should not rely on /etc/release on Solaris http://projects.reductivelabs.com:80/issues/1761 Author: andy Status: Re-opened Priority: Normal Assigned to: jamtur01 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 -~----------~----~----~----~------~----~------~--~---
