[Pkg-puppet-devel] [SCM] Packaging of Facter for debian branch, upstream, updated. 51bcebe38cab6088c901f1006339bbe40a36d161
James Turnbull
james at lovedthanlost.net
Wed Aug 18 05:55:44 UTC 2010
The following commit has been merged in the upstream branch:
commit 8ea33eb80c117370312dc22391f0e6f31a7ccd22
Author: James Turnbull <james at lovedthanlost.net>
Date: Mon Apr 12 11:48:06 2010 +1000
Fixed #3447 - OVS and OEL not matching in operatingsystemrelease
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|
--
Packaging of Facter for debian
More information about the Pkg-puppet-devel
mailing list