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:
b2b1a29
)
please to be quiet, zelenka
author
Stephen Gran
<steve@lobefin.net>
Wed, 22 Jul 2009 22:20:08 +0000
(23:20 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Wed, 22 Jul 2009 22:20:08 +0000
(23:20 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
facts/raidcontroller.rb
patch
|
blob
|
history
diff --git
a/facts/raidcontroller.rb
b/facts/raidcontroller.rb
index
12d140f
..
8a09a71
100644
(file)
--- a/
facts/raidcontroller.rb
+++ b/
facts/raidcontroller.rb
@@
-5,7
+5,7
@@
Facter.add("smartarraycontroller") do
ishp = "false"
lspciexists = system "/bin/bash -c 'which lspci >&/dev//null'"
if $?.exitstatus == 0
- %x{lspci}.each { |s|
+ %x{lspci
2>&1
}.each { |s|
ishp = "true" if s =~ /RAID bus controller: (.*) Smart Array/
}
end