From e3b8a5e4eae28e96b6d955b4be408f8510e49c52 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 7 Nov 2018 20:19:00 +0100 Subject: [PATCH] change megaraid_sas test --- modules/debian_org/lib/facter/raidarray.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/debian_org/lib/facter/raidarray.rb b/modules/debian_org/lib/facter/raidarray.rb index c9cf762ad..b313ce79a 100644 --- a/modules/debian_org/lib/facter/raidarray.rb +++ b/modules/debian_org/lib/facter/raidarray.rb @@ -53,7 +53,7 @@ end Facter.add("megaraid_sas") do confine :kernel => :linux setcode do - if FileTest.exist?("/dev/megaraid_sas_ioctl_node") + if FileTest.exist?("/sys/module/megaraid_sas/") true else false -- 2.20.1