File facter-2.0.2-add_operatingsystemmajrelease.patch of Package facter.158

Index: facter-2.0.2/lib/facter/operatingsystemmajrelease.rb
===================================================================
--- facter-2.0.2.orig/lib/facter/operatingsystemmajrelease.rb
+++ facter-2.0.2/lib/facter/operatingsystemmajrelease.rb
@@ -25,11 +25,14 @@ Facter.add(:operatingsystemmajrelease) d
     :Debian,
     :Fedora,
     :OEL,
+    :openSUSE,
     :OracleLinux,
     :OVS,
     :RedHat,
     :Scientific,
-    :SLC
+    :SLC,
+    :SLED,
+    :SLES
   ]
   setcode do
     Facter.value('operatingsystemrelease').split('.').first
openSUSE Build Service is sponsored by