From 9dc927dbec2a2e6048354e2b181a5e8be74f7431 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 17 Oct 2009 18:33:36 +0100 Subject: [PATCH] add spamd test 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 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 -- 2.20.1