X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=facts%2Fsoftware.rb;h=f7f7abc4e5de5f297340be5f1664ffb3af2c9c47;hb=86ffc2cf74a1a8595bc963b7e8352ee0fe5ee0bc;hp=fed40d8acfbe31966802eaf9dc1d858ed97961db;hpb=74f7a7a40aae37e799f2b436d45f2b5ee76ac5d2;p=mirror%2Fdsa-puppet.git diff --git a/facts/software.rb b/facts/software.rb index fed40d8ac..f7f7abc4e 100644 --- a/facts/software.rb +++ b/facts/software.rb @@ -43,3 +43,13 @@ Facter.add("policydweight") 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