From 1b947e1b4adc7ac3397867acd18054e8e4023011 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 17 Oct 2009 14:43:36 +0100 Subject: [PATCH] fact about vsftpd Signed-off-by: Stephen Gran --- facts/software.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/facts/software.rb b/facts/software.rb index fed40d8ac..233acc57a 100644 --- 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 -- 2.20.1