Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Introduce es_java_home variable to allow setting JAVA_HOME #681

Merged
merged 1 commit into from
Mar 20, 2020

Conversation

timdev
Copy link
Contributor

@timdev timdev commented Mar 19, 2020

This PR introduces a variable called es_java_home, which defaults to an empty string. If set to a non-empty string, that string is used to set the JAVA_HOME environment variable in the default config file (via the templates/elasticsearch.j2 template).

If es_java_home is not changed from its default, the file generated from the template is unchanged. That is to say, this change should be entirely backwards-compatible.

@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@cla-checker-service
Copy link

cla-checker-service bot commented Mar 19, 2020

💚 CLA has been signed

@jmlrt
Copy link
Member

jmlrt commented Mar 19, 2020

Hi @timdev,
Thanks for your PR.
Can you sign the CLA: https://www.elastic.co/contributor-agreement

@timdev
Copy link
Contributor Author

timdev commented Mar 19, 2020

hi @jmlrt - I did so right after submitting the PR. Let me know if you need me to do so again.

@jmlrt
Copy link
Member

jmlrt commented Mar 19, 2020

jenkins test this please

Copy link
Member

@jmlrt jmlrt left a comment

Choose a reason for hiding this comment

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

@jmlrt jmlrt merged commit e01015b into elastic:master Mar 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants