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

Do not explicitly request current environment #442

Merged
merged 1 commit into from
Mar 5, 2019

Conversation

towo
Copy link
Member

@towo towo commented May 14, 2018

Pull Request (PR) description

Do not explicitly request current environment from Puppet::Module.find.

This can lead to breakage under certain conditions that aren't fully
clear. Puppet has been using the current environment in Module.find
since 1.4.5[1], so it should not be necessary to actually define it.

The unit tests and an integration test for CentOS 7 ran through just fine.

This Pull Request (PR) fixes the following issues

Fixes #403

[1] commit puppetlabs/puppet@b6fc631

@bastelfreak
Copy link
Member

Hi @towo, thanks for the PR and sorry for the slow response! I just rebased it against our master branch and will merge it afterwards.

@bastelfreak bastelfreak added the bug Something isn't working label Sep 1, 2018
@langesven
Copy link

I just ran into this error myself and can confirm this PR fixes the problem!

@bastelfreak
Copy link
Member

I would love to merge this, but I've no idea why it fails on debian 9 :(. Has anybody some more knowledge about pacemaker and can look into this?

@towo
Copy link
Member Author

towo commented Sep 4, 2018

I could probably look into that later this week.

This can lead to breakage under certain conditions that aren't fully
clear. Puppet has been using the current environment in Module.find
since 1.4.5[1], so it should not be necessary to actually define it.

Fixes voxpupuli#403

[1] commit puppetlabs/puppet@b6fc631
@bastelfreak bastelfreak merged commit 2469318 into voxpupuli:master Mar 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Could not autoload puppet/provider/cs_property/pcs:
3 participants