elasticsearch-head icon indicating copy to clipboard operation
elasticsearch-head copied to clipboard

Installing this plugin from an rpm

Open ravinaik1312 opened this issue 8 years ago • 1 comments

I am trying to install this plugin from an rpm created from this project. I am getting an error 'ERROR: Could not find plugin descriptor 'plugin-descriptor.properties' in plugin zip'

Installing it from a zip file and by just providing the correct name for the plugin as per the documentation works fine, but I don't see any documentation related to installing plugin from an rpm either on this repository or the official elasticsearch repository, which makes me wonder if 'installing from rpm' is even permitted.

Any thoughts?

ravinaik1312 avatar Mar 22 '16 21:03 ravinaik1312

Did you get this working, and if so, do you have a specfile? FWIW, this is how I approached it in the specfile I used for the cloud-aws plugin: https://github.com/wyardley/elasticsearch-plugin-cloud-aws-rpm/blob/master/elasticsearch-plugin-cloud-aws.spec (which is a fork of https://github.com/phrawzty/elasticsearch-plugin-cloud-aws-rpm). Since plugin-descriptor.properties is in the source, I think you just need to explicitly install it in your specfile or whatever you're using to generate the rpm (fpm would probably also work).

wyardley avatar Jun 27 '16 22:06 wyardley