use ssl connections for ldap
[mirror/dsa-puppet.git] / files / etc / puppet / lib / puppet / parser / functions / allnodeinfo.rb
index c86ce4f..4e6a665 100644 (file)
@@ -5,7 +5,7 @@ module Puppet::Parser::Functions
       attributes << 'hostname'
     end
 
-    ldap = LDAP::Conn.new('db.debian.org')
+    ldap = LDAP::SSLConn.new('db.debian.org', 636)
 
     results = []
     filter = '(hostname=*)'