Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for issue 21 "Autoloading and XmlLens loading fails" #22

Merged
merged 3 commits into from
Mar 28, 2023

Conversation

wolfaba
Copy link
Contributor

@wolfaba wolfaba commented Nov 2, 2021

Pull Request (PR) description

Hopefully fixes the issue 21 loading lens.rb and using Lens class instead of XmlLens

This Pull Request (PR) fixes the following issues

Fixes #21

Warning: I am neither puppet nor ruby expert, I have just tried something and it had worked. But it's possible that it is incorrect. Expert review required! Thank you.

error "Could not autoload puppet/type/xmlfile: no such file to load -- puppet_x/vox_pupuli/xmlfile/lens"
error "change from 'absent' to 'present' failed: Could not set 'present' on ensure: uninitialized constant XmlLens"
@tuxmea
Copy link
Member

tuxmea commented Nov 4, 2021

looks good to me. @alexjfisher what is your opinion?

Copy link
Member

@alexjfisher alexjfisher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, I think this is ok. I've seen similar fixes in other modules.

@alexjfisher alexjfisher merged commit 888922c into voxpupuli:master Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autoloading and XmlLens loading fails
3 participants