From: Stephen Gran Date: Sun, 15 Mar 2009 16:19:31 +0000 (+0000) Subject: Some new facts X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=aeb9f273e726e45454bd3bfc9430abba90216130;p=dsa-puppet.git Some new facts Signed-off-by: Stephen Gran --- diff --git a/facts/software.rb b/facts/software.rb index 202543b4..fc922bb2 100644 --- a/facts/software.rb +++ b/facts/software.rb @@ -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