From daf2269f52610d9f11c35818ecac0b091da87459 Mon Sep 17 00:00:00 2001 From: Zach Leslie Date: Thu, 10 Mar 2016 22:03:40 -0800 Subject: [PATCH] Update require for puppet_x to use relative path This work should allow the code to be loaded in the puppetserver. --- lib/puppet/parser/functions/ldapquery.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet/parser/functions/ldapquery.rb b/lib/puppet/parser/functions/ldapquery.rb index c33efb1..5be8370 100644 --- a/lib/puppet/parser/functions/ldapquery.rb +++ b/lib/puppet/parser/functions/ldapquery.rb @@ -1,4 +1,4 @@ -require 'puppet_x/ldapquery' +require_relative '../../../puppet_x/ldapquery' begin require 'net/ldap'