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:
a3cb066
)
mpt raid gets confined to linux for now
author
Stephen Gran
<steve@lobefin.net>
Sat, 26 Mar 2011 09:38:50 +0000
(09:38 +0000)
committer
Stephen 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
patch
|
blob
|
history
diff --git
a/modules/debian-org/lib/facter/raidarray.rb
b/modules/debian-org/lib/facter/raidarray.rb
index
997bf14
..
28fdca4
100644
(file)
--- a/
modules/debian-org/lib/facter/raidarray.rb
+++ b/
modules/debian-org/lib/facter/raidarray.rb
@@
-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