X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=facts%2Fsoftware.rb;h=f7f7abc4e5de5f297340be5f1664ffb3af2c9c47;hb=86ffc2cf74a1a8595bc963b7e8352ee0fe5ee0bc;hp=fc922bb2bd1a6c01bcf88ea6db0653a14256a85b;hpb=aeb9f273e726e45454bd3bfc9430abba90216130;p=mirror%2Fdsa-puppet.git diff --git a/facts/software.rb b/facts/software.rb index fc922bb2b..f7f7abc4e 100644 --- a/facts/software.rb +++ b/facts/software.rb @@ -38,8 +38,18 @@ Facter.add("greylistd") do FileTest.exist?("/usr/sbin/greylistd") end end -Facter.add("policyd-weight") do +Facter.add("policydweight") do setcode do FileTest.exist?("/usr/sbin/policyd-weight") end end +Facter.add("vsftpd") do + setcode do + FileTest.exist?("/usr/sbin/vsftpd") + end +end +Facter.add("spamd") do + setcode do + FileTest.exist?("/usr/sbin/spamd") + end +end