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:
88f8be7
)
add spamd test
author
Stephen Gran
<steve@lobefin.net>
Sat, 17 Oct 2009 17:33:36 +0000
(18:33 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Sat, 17 Oct 2009 17:33:36 +0000
(18:33 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
facts/software.rb
patch
|
blob
|
history
diff --git
a/facts/software.rb
b/facts/software.rb
index
233acc5
..
f7f7abc
100644
(file)
--- a/
facts/software.rb
+++ b/
facts/software.rb
@@
-48,3
+48,8
@@
Facter.add("vsftpd") do
FileTest.exist?("/usr/sbin/vsftpd")
end
end
+Facter.add("spamd") do
+ setcode do
+ FileTest.exist?("/usr/sbin/spamd")
+ end
+end