Skip to content

Commit

Permalink
fix for issue 21 "Autoloading and XmlLens loading fails"
Browse files Browse the repository at this point in the history
error "Could not autoload puppet/type/xmlfile: no such file to load -- puppet_x/vox_pupuli/xmlfile/lens"
  • Loading branch information
wolfaba authored and alexjfisher committed Mar 28, 2023
1 parent bb0dff0 commit bd2f9db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/type/xmlfile.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bd2f9db

Please sign in to comment.