This allows operatingsystemrelease to properly determine the release for various Red Hat based distros, including the point portion of the release.
Signed-off-by: Todd Zullinger <[email protected]> --- lib/facter/operatingsystemrelease.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/facter/operatingsystemrelease.rb b/lib/facter/operatingsystemrelease.rb index 2f76817..18199bd 100644 --- a/lib/facter/operatingsystemrelease.rb +++ b/lib/facter/operatingsystemrelease.rb @@ -15,7 +15,7 @@ Facter.add(:operatingsystemrelease) do line = f.readline.chomp if line =~ /\(Rawhide\)$/ "Rawhide" - elsif line =~ /release (\d+)/ + elsif line =~ /release (\d[\d.]*)/ $1 end end -- 1.6.2 -- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Love is a snowmobile racing across the tundra. Suddenly it flips, pinning you underneath. At night, the ice weasels come. -- Matt Groening --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en -~----------~----~----~----~------~----~------~--~---
