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:
25de7df
)
Duh. == and = are not the same thing
author
Stephen Gran
<steve@lobefin.net>
Sat, 28 Feb 2009 23:50:32 +0000
(23:50 +0000)
committer
Stephen Gran
<steve@lobefin.net>
Sat, 28 Feb 2009 23:50:32 +0000
(23:50 +0000)
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
1d6b631
..
275c5fa
100644
(file)
--- a/
facts/raidcontroller.rb
+++ b/
facts/raidcontroller.rb
@@
-6,7
+6,7
@@
Facter.add("raidcontroller") do
lspciexists = system "/bin/bash -c 'which lspci >&/dev//null'"
if $?.exitstatus == 0
%x{lspci}.each { |s|
- ishp =
=
"true" if s =~ /RAID bus controller: (.*) Smart Array/
+ ishp = "true" if s =~ /RAID bus controller: (.*) Smart Array/
}
end
ishp