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

Use of default CONF_DIR/CONF_FILE in plugin install #10721

Merged
merged 1 commit into from May 25, 2015

Conversation

tlrx
Copy link
Member

@tlrx tlrx commented Apr 22, 2015

The bin/plugin script now uses the default CONF_DIR & CONF_FILE environment vars. This allows to install a plugin even if Elasticsearch has been installed with a RPM or a DEB package. This commit also adds testing files for TAR archive and plugins installation. Related to ##7946.

Closes #10673

@tlrx
Copy link
Member Author

tlrx commented Apr 28, 2015

Removing review label for now, something breaks with the security manager.

@tlrx
Copy link
Member Author

tlrx commented Apr 29, 2015

@spinscale Could you please have a look at this one? It should be straightforward to test. Thanks

@spinscale
Copy link
Contributor

tested plugin installation (marvel and kopf) and removal with deb on debian jessie ubuntu trusty (initd), ubuntu vivid (systemd), with RPM on opensuse ... all worked flawless

Minor nitpick: Maybe put a "Packaging: " prefix in the commit message/PR title, so its easier for others what this is about

Last part: I'd love to get the BATS stuff into CI after this.

LGTM!

@tlrx tlrx changed the title Use of default CONF_DIR/CONF_FILE in plugin install Packaging: Use of default CONF_DIR/CONF_FILE in plugin install May 25, 2015
The bin/plugin script now uses the default CONF_DIR & CONF_FILE environment vars. This allows to install a plugin even if Elasticsearch has been installed with a RPM or a DEB package. This commit also adds testing files for TAR archive and plugins installation.

Closes elastic#10673
@tlrx tlrx force-pushed the plugin-install-use-conf-dir branch from 3a0faff to 862cec5 Compare May 25, 2015 11:45
@tlrx
Copy link
Member Author

tlrx commented May 25, 2015

@spinscale thanks a lot for your review! I updated the commit/pr message.

@tlrx tlrx merged commit 862cec5 into elastic:master May 25, 2015
@kevinkluge kevinkluge removed the review label May 25, 2015
@tlrx tlrx deleted the plugin-install-use-conf-dir branch May 25, 2015 12:12
@clintongormley clintongormley changed the title Packaging: Use of default CONF_DIR/CONF_FILE in plugin install Use of default CONF_DIR/CONF_FILE in plugin install Jun 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin installation script ignores path.plugins
4 participants