add spamd test
authorStephen Gran <steve@lobefin.net>
Sat, 17 Oct 2009 17:33:36 +0000 (18:33 +0100)
committerStephen Gran <steve@lobefin.net>
Sat, 17 Oct 2009 17:33:36 +0000 (18:33 +0100)
Signed-off-by: Stephen Gran <steve@lobefin.net>
facts/software.rb

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