]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
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 997bf141f55e26c3bd70da64d53c6901ca2e3b24..28fdca489a859c37feae97cf19b63983af8d2670 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