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:
1cc6ecd
)
add aacraid fact
author
Stephen Gran
<steve@lobefin.net>
Sun, 31 Jan 2010 17:04:23 +0000
(17:04 +0000)
committer
Stephen Gran
<steve@lobefin.net>
Sun, 31 Jan 2010 17:04:23 +0000
(17:04 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
facts/raidarray.rb
patch
|
blob
|
history
diff --git
a/facts/raidarray.rb
b/facts/raidarray.rb
index
2bc3f0e
..
acd46b8
100644
(file)
--- a/
facts/raidarray.rb
+++ b/
facts/raidarray.rb
@@
-25,6
+25,13
@@
Facter.add("ThreeWarecontroller") do
end
end
+Facter.add("aacraid") do
+ confine :kernel => :linux
+ setcode do
+ FileTest.exist?("/dev/aac0")
+ end
+end
+
Facter.add("swraid") do
confine :kernel => :linux
setcode do