From: Stephen Gran Date: Sat, 17 Oct 2009 17:33:36 +0000 (+0100) Subject: add spamd test X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=9dc927dbec2a2e6048354e2b181a5e8be74f7431;p=mirror%2Fdsa-puppet.git add spamd test Signed-off-by: Stephen Gran --- diff --git a/facts/software.rb b/facts/software.rb index 233acc57a..f7f7abc4e 100644 --- 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