]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - facts/mta.rb
restrict schroeder ssh, now with syntax
[dsa-puppet.git] / facts / mta.rb
index 5d2242a6130006181f59a92c14d11b83f6c191e1..98ed4338c8a40132066db9fa29b009c34d2fa41e 100644 (file)
@@ -7,3 +7,13 @@ Facter.add("mta") do
                mta
        end
 end
+
+Facter.add("exim_ssl_certs") do
+       setcode do
+               FileTest.exist?("/etc/exim4/ssl/") &&
+               FileTest.exist?("/etc/exim4/ssl/ca.crl") &&
+               FileTest.exist?("/etc/exim4/ssl/thishost.crt") &&
+               FileTest.exist?("/etc/exim4/ssl/ca.crt") &&
+               FileTest.exist?("/etc/exim4/ssl/thishost.key")
+       end
+end