Issue #2312 has been updated by Ricky Zhou.
I have a ticket/master/2312 branch at http://fedorapeople.org/gitweb?p=ricky/public_git/facter.git;a=shortlog;h=refs/heads/ticket/master/2312, you can clone that repo at git://fedorapeople.org/~ricky/facter.git. I made an attempt at writing a test for it, but I don't know ruby, so it could probably use some cleanup from somebody more experienced. I made a few attempts to have the stub match only the /etc/redhat-release File object and yield a StringIO object instead, but I couldn't figure out how to make it handle multiple attempts to open that file. Also, somebody might want to see if this change applies to CentOS and OEL as well. I spoke to Todd Zullinger about this, we'd both like to see facts for Fedora and all of the downstream distros consolidated so that they give consistent information. ---------------------------------------- Bug #2312: The operatingsystemrelease fact does not account for non-integer Fedora and RHEL releases. http://projects.reductivelabs.com/issues/2312 Author: Ricky Zhou Status: Unreviewed Priority: Normal Assigned to: Category: Target version: Complexity: Unknown Keywords: /etc/fedora-release and /etc/redhat-release can contain non-integral releases. For example, during the Fedora Preview Release, /etc/fedora-release contained "Fedora release 10.93 (Leonidas)." Also, /etc/redhat-release on a RHEL 5.3 machine contains "Red Hat Enterprise Linux Server release 5.3 (Tikanga)." -- 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 -~----------~----~----~----~------~----~------~--~---
