Some new facts
authorStephen Gran <steve@lobefin.net>
Sun, 15 Mar 2009 16:19:31 +0000 (16:19 +0000)
committerStephen Gran <steve@lobefin.net>
Sun, 15 Mar 2009 16:19:31 +0000 (16:19 +0000)
Signed-off-by: Stephen Gran <steve@lobefin.net>
facts/software.rb

index 202543b..fc922bb 100644 (file)
@@ -28,3 +28,18 @@ Facter.add("postgres83") do
                FileTest.exist?("/usr/lib/postgresql/8.3/bin/postgres")
        end
 end
+Facter.add("postgrey") do
+       setcode do
+               FileTest.exist?("/usr/sbin/postgrey")
+       end
+end
+Facter.add("greylistd") do
+       setcode do
+               FileTest.exist?("/usr/sbin/greylistd")
+       end
+end
+Facter.add("policyd-weight") do
+       setcode do
+               FileTest.exist?("/usr/sbin/policyd-weight")
+       end
+end