From bd2f9dbfda0a1de28a40e70e1b9f5b156c171afd Mon Sep 17 00:00:00 2001 From: Robert Wolf Date: Wed, 3 Nov 2021 00:10:26 +0100 Subject: [PATCH] fix for issue 21 "Autoloading and XmlLens loading fails" error "Could not autoload puppet/type/xmlfile: no such file to load -- puppet_x/vox_pupuli/xmlfile/lens" --- lib/puppet/type/xmlfile.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puppet/type/xmlfile.rb b/lib/puppet/type/xmlfile.rb index 5c3d2bc..32a327d 100644 --- a/lib/puppet/type/xmlfile.rb +++ b/lib/puppet/type/xmlfile.rb @@ -2,7 +2,7 @@ require 'puppet/util/checksums' begin - require 'puppet_x/vox_pupuli/xmlfile/lens' + require_relative '../../puppet_x/vox_pupuli/xmlfile/lens rescue require 'pathname' mod = Puppet::Module.find('xmlfile', Puppet[:environment].to_s)