-
Notifications
You must be signed in to change notification settings - Fork 13
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 puppet-lint namespace clash with new puppetlabs-lint gem #170
Conversation
@GSPatton can you please rebase? I think we should test one of the external plugins with this branch before merging. |
Currently, the new puppet-lint gem and the old one clash as both compete for the PuppetLint namespace. This initial commit aims to solve this by intorducing the puppetlabs directory in lib so that resources are found in lib/puppetlabs/puppet-lint rather than lib/puppet-lint. This method is being tested first to avoid introducing changes that would require users to update their puppet-lint resource definitions
…ll test on broken vox lint plugin PRs
3b7fbd8
to
5fe537f
Compare
hi @bastelfreak. Will test that out now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think all instances of PuppetLint
need to be changed as well, otherwise it still overlaps with puppet-lint
and can accidentally load the wrong files.
Just a thought: perhaps pick a name that really is different, like |
…int/plugins rather than lib/puppetlabs-lint/plugins - sacraficing consistency in naming here for minimal impact on users
Hi @ekohl, instead of changing all instances of |
Closing in favour of #177 |
Currently, the new puppet-lint gem and the old one clash as both compete for the PuppetLint namespace. This initial commit aims to solve this by intorducing the puppetlabs directory in lib so that resources are found in lib/puppetlabs/puppet-lint rather than lib/puppet-lint. This method is being tested first to avoid introducing changes that would require users to update their puppet-lint resource definitions
Summary
Provide a detailed description of all the changes present in this pull request.
Additional Context
Add any additional context about the problem here.
Related Issues (if any)
Mention any related issues or pull requests.
Checklist