mpt raid gets confined to linux for now
authorStephen Gran <steve@lobefin.net>
Sat, 26 Mar 2011 09:38:50 +0000 (09:38 +0000)
committerStephen Gran <steve@lobefin.net>
Sat, 26 Mar 2011 09:38:50 +0000 (09:38 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
modules/debian-org/lib/facter/raidarray.rb

index 997bf14..28fdca4 100644 (file)
@@ -26,6 +26,7 @@ Facter.add("megaraid") do
 end
 
 Facter.add("mptraid") do
+       confine :kernel => :linux
        setcode do
                FileTest.exist?("/dev/mptctl") or FileTest.exist?("/dev/mpt0") or FileTest.exist?("/proc/mpt/summary")
        end