diff options
author | Thom May <thom.may@betfair.com> | 2009-08-19 11:48:37 +0100 |
---|---|---|
committer | AJ Christensen <aj@junglist.gen.nz> | 2009-10-07 00:28:53 +1300 |
commit | 1795eb3815181079efa405698ac23c5d7bf7031a (patch) | |
tree | 9c0a011796fbe042f54cc261a223fe700800a1d7 /lib | |
parent | aa366ec1ed660467e6e02e7fbcfed74642056928 (diff) | |
download | ohai-1795eb3815181079efa405698ac23c5d7bf7031a.tar.gz |
OHAI-116 - Add point release to redhat version
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ohai/plugins/linux/platform.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/linux/platform.rb b/lib/ohai/plugins/linux/platform.rb index 6b2407d5..364c6738 100644 --- a/lib/ohai/plugins/linux/platform.rb +++ b/lib/ohai/plugins/linux/platform.rb @@ -33,7 +33,7 @@ elsif File.exists?("/etc/redhat-release") case line when /\(Rawhide\)/ platform_version "rawhide" - when /release (\d+)/ + when /release ([\d\.]+)/ platform_version $1 end end |