From 0bcdb71f88cb66140b344d38fd94ce2f161dcd2c Mon Sep 17 00:00:00 2001 From: Luke Kanies Date: Tue, 27 Jan 2009 17:58:47 -0600 Subject: Fixing #1854 - Adding ArchLinux support Used patch by miah. Signed-off-by: Luke Kanies --- lib/facter/operatingsystem.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/facter/operatingsystem.rb b/lib/facter/operatingsystem.rb index 51e6248..5bff78d 100644 --- a/lib/facter/operatingsystem.rb +++ b/lib/facter/operatingsystem.rb @@ -18,6 +18,8 @@ Facter.add(:operatingsystem) do "Mandriva" elsif FileTest.exists?("/etc/mandrake-release") "Mandrake" + elsif FileTest.exists?("/etc/arch-release") + "Archlinux" elsif FileTest.exists?("/etc/redhat-release") txt = File.read("/etc/redhat-release") if txt =~ /centos/i -- cgit