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

Crossport hash.rb from elastic/puppet-elasticsearch #41

Merged
merged 1 commit into from
Apr 13, 2022

Conversation

baurmatt
Copy link
Contributor

hash.rb is also used in elastic/puppet-elasticsearch. The files are
currently not the same which leads to environment leaking errors due to
the module being a PuppetX function.

This copies the content of the file form elastic/puppet-elasticsearch to
get around the environment leaking for now.

Pull request acceptance prerequisites:

  • Signed the CLA (if not already signed)
  • Rebased/up-to-date with base branch
  • Updated CHANGELOG.md with patch notes (if necessary)
  • Any relevant docs (README.markdown or inline documentation) updated (if necessary)
  • Updated CONTRIBUTORS (if you would like attribution)
  • Tests pass CI

@baurmatt baurmatt force-pushed the crossport-hash.rb branch 3 times, most recently from a1a96b0 to b1ef58c Compare February 17, 2020 17:09
@baurmatt
Copy link
Contributor Author

Tried for hours - can't reproduce the issue in Travis CI. I'm pretty sure that it isn't related to this PR.

@yakirgb
Copy link

yakirgb commented Feb 19, 2020

Thank you @baurmatt, i have same issue:

~/git/puppet/modules/common_v2$ ag lib/puppet_x/elastic/hash.rb
kibana/checksums.json
17:  "lib/puppet_x/elastic/hash.rb": "159abda7275f5bc45f354ce4fc59cce9",

elasticsearch/checksums.json
90:  "lib/puppet_x/elastic/hash.rb": "4300b3a1327121c196bc7c02e51055e4",

And every puppet run the file changing to 159abda7275f5bc45f354ce4fc59cce9 or 4300b3a1327121c196bc7c02e51055e4

@yakirgb
Copy link

yakirgb commented Mar 9, 2020

@tylerjl can you check the CI please ?

@yakirgb
Copy link

yakirgb commented Mar 30, 2020

@tylerjl @mmoll can you merge please?

@mmoll
Copy link
Contributor

mmoll commented Mar 30, 2020

I don't have merge permissions here... also, tests fail (probably not related to this PR).

@tajehn
Copy link

tajehn commented Mar 30, 2020 via email

@baurmatt
Copy link
Contributor Author

Hey @fatmcgav, I've seen you doing a lot of work at puppet-elasticsearch. Any chance you could take a look at this?

Thank you! :)

@sboyd-m
Copy link

sboyd-m commented Apr 12, 2022

Any chance this can get a push to see if its still viable? This is an issue for us as well, very sad to see it take over 2 years to copy a file, is there a way to help move this along?

@kenyon
Copy link
Member

kenyon commented Apr 13, 2022

Rebasing on current master would be a good start.

@baurmatt baurmatt force-pushed the crossport-hash.rb branch 2 times, most recently from acee60d to 088d5a7 Compare April 13, 2022 07:36
@baurmatt
Copy link
Contributor Author

Sure! :) Looking forward to get this finally merged! :)

hash.rb is also used in elastic/puppet-elasticsearch. The files are
currently not the same which leads to environment leaking errors due to
the module being a PuppetX function.

This copies the content of the file form elastic/puppet-elasticsearch to
get around the environment leaking for now.
Copy link
Member

@smortex smortex left a comment

Choose a reason for hiding this comment

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

LGTM

@baurmatt baurmatt added the bug Something isn't working label Apr 13, 2022
@baurmatt baurmatt merged commit 12106d3 into voxpupuli:master Apr 13, 2022
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.

None yet

7 participants