Please review pull request #114: (maint) remove redundant arch detection opened by (adrienthebo)
Description:
The operatingsystem fact had logic to test for the existence of
/etc/arch-release twice. Removed the dead branch of code.
- Opened: Mon Dec 12 22:24:43 UTC 2011
- Based on: puppetlabs:1.6.x (7065eeeafd668a874ae2e421a0b7554043a71594)
- Requested merge: adrienthebo:maint/1.6.x/remove_redundant_arch_detection (6201820c8814065acb0da65e808c54d4be8e2fbb)
Diff follows:
diff --git a/lib/facter/operatingsystem.rb b/lib/facter/operatingsystem.rb
index 5961f96..eed6808 100644
--- a/lib/facter/operatingsystem.rb
+++ b/lib/facter/operatingsystem.rb
@@ -44,8 +44,6 @@
else
"OEL"
end
- elsif FileTest.exists?("/etc/arch-release")
- "Arch"
elsif FileTest.exists?("/etc/vmware-release")
"VMWareESX"
elsif FileTest.exists?("/etc/redhat-release")
-- 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.
