From: Stephen Gran Date: Sat, 17 Oct 2009 13:43:36 +0000 (+0100) Subject: fact about vsftpd X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=1b947e1b4adc7ac3397867acd18054e8e4023011;p=mirror%2Fdsa-puppet.git fact about vsftpd Signed-off-by: Stephen Gran --- 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