fact about vsftpd
authorStephen Gran <steve@lobefin.net>
Sat, 17 Oct 2009 13:43:36 +0000 (14:43 +0100)
committerStephen 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

index fed40d8..233acc5 100644 (file)
@@ -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