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

Other attempt to call Facter to find osfamily #590

Merged
merged 1 commit into from
Mar 29, 2016
Merged

Other attempt to call Facter to find osfamily #590

merged 1 commit into from
Mar 29, 2016

Conversation

buzzdeee
Copy link
Contributor

in provider/elasticsearch_plugin/plugin.rb

this is to fix the issue @benlangfeld reported here:
cc1e6b9#commitcomment-16365111

using his suggested fix, and at least does also work for me on OpenBSD.

buzzdeee referenced this pull request Feb 27, 2016
class down to the native plugins type. That's necessary
for installations in non-default locations.

Retrieve plugindir value from parameter given to init.pp

in the plugin.pp provider for elasticsearch_plugin type,
special case OpenBSD a bit, export variable ES_INCLUDE
as well as the JAVA_HOME variable.
For ES_INCLUDE, use the same path that is also specified
in the rc script.
For JAVA_HOME, use the javaPathHelper, to retrieve
the correct path for elasticsearch. Also very similar to
what the rc script does.
@elasticsearch-release
Copy link

Jenkins standing by to test this. If you aren't a maintainer, you can ignore this comment. Someone with commit access, please review this and clear it for Jenkins to run; then say 'jenkins, test it'.

@benlangfeld
Copy link

Thanks @buzzdeee

@tylerjl tylerjl closed this Mar 9, 2016
@tylerjl tylerjl reopened this Mar 9, 2016
@tylerjl
Copy link
Contributor

tylerjl commented Mar 9, 2016

Thanks @buzzdeee, this looks totally safe and technically correct. Did a close/re-open dance to get it into a Travis PR build test, hope it's cool I'm using this as a guinea pig for some CI refactors. 🐧

@tylerjl
Copy link
Contributor

tylerjl commented Mar 25, 2016

Hey @buzzdeee, I think I've worked out the kinks in CI and am ready for this. Can you update this branch onto the latest master and when it passes, we'll be good to go 👍

@buzzdeee
Copy link
Contributor Author

long easter weekend (:
rebased as requested,
cheers,
Sebastian

@tylerjl tylerjl merged commit 945ca11 into voxpupuli:master Mar 29, 2016
@tylerjl tylerjl added this to the 0.10.4 milestone May 13, 2016
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.

4 participants