diff --git a/lib/puppet_x/ldapquery.rb b/lib/puppet_x/ldapquery.rb index 411c5db..6b3ca37 100644 --- a/lib/puppet_x/ldapquery.rb +++ b/lib/puppet_x/ldapquery.rb @@ -92,8 +92,8 @@ module PuppetX return entries rescue Exception => e Puppet.debug('There was an error searching LDAP #{e.message}') - Puppet.debug('Returning empty array') - return [] + Puppet.debug('Returning false') + return false end end