projects
/
mirror
/
dsa-puppet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use facter to tell us which hosts need this module
[mirror/dsa-puppet.git]
/
facts
/
raidcontroller.rb
diff --git
a/facts/raidcontroller.rb
b/facts/raidcontroller.rb
index
263b16b
..
12d140f
100644
(file)
--- a/
facts/raidcontroller.rb
+++ b/
facts/raidcontroller.rb
@@
-9,7
+9,7
@@
Facter.add("smartarraycontroller") do
ishp = "true" if s =~ /RAID bus controller: (.*) Smart Array/
}
end
ishp = "true" if s =~ /RAID bus controller: (.*) Smart Array/
}
end
- ishp
+ ishp
== "true"
end
end
end
end
@@
-29,7
+29,7
@@
Facter.add("3warecontroller") do
is3w = "true" if x =~ /Vendor: 3ware/
}
end
is3w = "true" if x =~ /Vendor: 3ware/
}
end
- is3w
+ is3w
== "true"
end
end
end
end
@@
-42,7
+42,7
@@
Facter.add("swraid") do
swraid = "true" if x =~ /md[0-9]+ : active/
}
end
swraid = "true" if x =~ /md[0-9]+ : active/
}
end
- swraid
+ swraid
== "true"
end
end
end
end