summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJames Turnbull <james@lovedthanlost.net>2010-04-12 11:48:06 +1000
committerJames Turnbull <james@lovedthanlost.net>2010-04-12 11:48:06 +1000
commit8ea33eb80c117370312dc22391f0e6f31a7ccd22 (patch)
tree2d47fe1cd2fed9e4023ea44ac061a31c88d0d42f /lib
parentaeee83cd3ae7e8740a9ae04de71cbcc2057dc864 (diff)
Fixed #3447 - OVS and OEL not matching in operatingsystemrelease
Diffstat (limited to 'lib')
-rw-r--r--lib/facter/operatingsystemrelease.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/facter/operatingsystemrelease.rb b/lib/facter/operatingsystemrelease.rb
index 2138d86..358496a 100644
--- a/lib/facter/operatingsystemrelease.rb
+++ b/lib/facter/operatingsystemrelease.rb
@@ -6,9 +6,9 @@ Facter.add(:operatingsystemrelease) do
releasefile = "/etc/redhat-release"
when "Fedora"
releasefile = "/etc/fedora-release"
- when "oel"
+ when "OEL"
releasefile = "/etc/enterprise-release"
- when "ovs"
+ when "OVS"
releasefile = "/etc/ovs-release"
end
File::open(releasefile, "r") do |f|