From e93b1e6a11936715727157a18e833c42acf898eb Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Sun, 3 May 2009 12:43:48 +1000 Subject: Added support for ArchLinux to operatingsystem fact --- lib/facter/operatingsystem.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/facter/operatingsystem.rb b/lib/facter/operatingsystem.rb index 52f889b..eacc7b3 100644 --- a/lib/facter/operatingsystem.rb +++ b/lib/facter/operatingsystem.rb @@ -26,6 +26,8 @@ Facter.add(:operatingsystem) do "OEL" elsif FileTest.exists?("/etc/ovs-release") "OVS" + elsif FileTest.exists?("/etc/arch-release") + "Arch" elsif FileTest.exists?("/etc/redhat-release") txt = File.read("/etc/redhat-release") if txt =~ /centos/i -- cgit