projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d3f4be
)
change megaraid_sas test
author
Peter Palfrader
<peter@palfrader.org>
Wed, 7 Nov 2018 19:19:00 +0000
(20:19 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Wed, 7 Nov 2018 19:19:00 +0000
(20:19 +0100)
modules/debian_org/lib/facter/raidarray.rb
patch
|
blob
|
history
diff --git
a/modules/debian_org/lib/facter/raidarray.rb
b/modules/debian_org/lib/facter/raidarray.rb
index
c9cf762
..
b313ce7
100644
(file)
--- 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