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

Export hostname as environment variable for plugin manager #11399

Merged
merged 1 commit into from May 28, 2015

Conversation

jaymode
Copy link
Member

@jaymode jaymode commented May 28, 2015

In #9474, we exported the hostname in the bin/elasticsearch scripts so that it
could be used as a variable in the elasticsearch.yml file but did not do the same
for plugin manager. When using the hostname variable in elasticsearch.yml and
trying to use the plugin manager, initialization will fail because the property could
not be resolved. This change will allow the hostname to be resolved in the same
manner as the service scripts.

Closes #10902

@jaymode jaymode added v2.0.0-beta1 review :Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts v1.6.0 labels May 28, 2015
@jaymode
Copy link
Member Author

jaymode commented May 28, 2015

@tlrx can you please review?

@tlrx
Copy link
Member

tlrx commented May 28, 2015

LGTM, thanks for taking care of this

In elastic#9474, we exported the hostname in the bin/elasticsearch scripts so that it
could be used as a variable in the elasticsearch.yml file but did not do the same
for plugin manager. When using the hostname variable in elasticsearch.yml and
trying to use the plugin manager, initialization will fail because the property could
not be resolved. This change will allow the hostname to be resolved in the same
manner as the service scripts.

Closes elastic#10902
@jaymode jaymode merged commit f732900 into elastic:master May 28, 2015
@kevinkluge kevinkluge removed the review label May 28, 2015
@mark-vieira mark-vieira added the Team:Delivery Meta label for Delivery team label Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Delivery/Packaging RPM and deb packaging, tar and zip archives, shell and batch scripts >enhancement Team:Delivery Meta label for Delivery team v1.6.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin Manager cannot resolve ${HOSTNAME} in elasticsearch.yml
5 participants