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:
b6f3bc1
)
fact about vsftpd
author
Stephen Gran
<steve@lobefin.net>
Sat, 17 Oct 2009 13:43:36 +0000
(14:43 +0100)
committer
Stephen Gran
<steve@lobefin.net>
Sat, 17 Oct 2009 13:43:36 +0000
(14:43 +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
fed40d8
..
233acc5
100644
(file)
--- a/
facts/software.rb
+++ b/
facts/software.rb
@@
-43,3
+43,8
@@
Facter.add("policydweight") do
FileTest.exist?("/usr/sbin/policyd-weight")
end
end
+Facter.add("vsftpd") do
+ setcode do
+ FileTest.exist?("/usr/sbin/vsftpd")
+ end
+end