Comments (13)
Any plans for implementation in the near term? Thanks.
from puppet-elasticsearch.
Hi,
Im currently doing some investigation on the different options for plugin installs and see how i can nicely put that in a define.
I hope to have this feature done within a week.
from puppet-elasticsearch.
If you have a plan of implementation, maybe I can help. I was thinking of duplicating/refactoring the code from http://ti57.blogspot.com/2013/03/installing-elasticsearch-using-puppet.html that relates to installing plugins.
from puppet-elasticsearch.
You are more then welcome to submit a PR :-)
from puppet-elasticsearch.
My idea is to have a define that can handle the different type's of sources:
- Github
- Download.elasticsearch.org
- Local file
Not sure yet about the checking if a plugin is already installed or not.
from puppet-elasticsearch.
First off -- great work on this @electrical !
For those watching this issue, I simply add this to the node definition to install a plugin:
exec { 'install-bigdesk-plugin':
command => '/usr/share/elasticsearch/bin/plugin -install lukas-vlcek/bigdesk/2.0.0',
creates => '/usr/share/elasticsearch/plugins/bigdesk',
}~>Service['elasticsearch']
from puppet-elasticsearch.
@justindowning Thanks for the kind words and the tip :-)
Will take that in account.
from puppet-elasticsearch.
Installed plugins could be queried by HTTP in JSON format i.e. http://$::ipaddress:9200/_nodes/$::node.name/plugin will return something like:
{"ok":true,"cluster_name":"athena.syseng.lab.es.logstash","nodes":{"Dk2vnG4PQu26fhQ1RQF9Og":{"name":"lab027","transport_address":"inet[lab027.athenalab.athenahealth.com/10.7.212.37:9300]","hostname":"lab027.athenalab.athenahealth.com","version":"0.90.0","http_address":"inet[/10.7.212.37:9200]","plugins":[{"name":"river-rabbitmq","description":"River RabbitMQ Plugin","jvm":true,"site":false},{"name":"bigdesk","description":"No description found for bigdesk.","url":"/_plugin/bigdesk/","jvm":false,"site":true},{"name":"head","description":"No description found for head.","url":"/_plugin/head/","jvm":false,"site":true},{"name":"paramedic","description":"No description found for paramedic.","url":"/_plugin/paramedic/","jvm":false,"site":true}]}}}
from puppet-elasticsearch.
Ah cool :-) that could give a good option to check if a plugin is installed without having to know where its installed.
from puppet-elasticsearch.
Almost finished with the main part.
Still looking at how to verify its installed. for some reason the solution from @salekseev doesn't work on my ES install. perhaps mine is just to old ( 0.20.2 )
from puppet-elasticsearch.
The HTTP API information is from http://www.elasticsearch.org/guide/reference/api/admin-cluster-nodes-info/, I'll try to reach out to them to see what's the oldest version that supports it. Do you get anything back or just an error?
from puppet-elasticsearch.
@salekseev Finally been able to do some work on it.
It seems that the plugin info has been added into the 0.90.0 release?
Tried 0.20.2 till 0.20.6 and those gave nothing.
Now i can continue further on it :-)
from puppet-elasticsearch.
Basic plugin install is implemented.
Might improve it in the future if required.
Please test it out :-)
from puppet-elasticsearch.
Related Issues (20)
- elasticsearch_keystore can't modify frozen String
- elasticsearch_keystore resource fails due to legacy instance code HOT 3
- Node facts not generated when Elasticsearch in cluster mode
- Could not evaluate: undefined method `join' for :name:Symbol HOT 2
- elasticsearch_plugin/ruby.rb wrong path to call plugin binary HOT 2
- ssl=true and version is not defined, gives an error HOT 1
- Setting an Elastic Version should be optional HOT 1
- New release, please HOT 1
- OpenSearch support ? HOT 1
- Elasticsearch API responded with: no handler found for uri [/_xpack/license?acknowledge=true] and method [PUT]
- File jvm.options in root is unmanaged/may be missing
- why was log4j2.properties.erb configuration commented ? HOT 1
- warnings when used with stlib 9. HOT 1
- fix lib directory permissions without changing the mode of files in the directory
- puppet-elastic_stack version HOT 1
- Use Elasticsearch 7+ as default for configuration HOT 1
- mediawiki needs 6.8.23 and I needed to change this
- Issues on the elasticsearch_component_template.rb and elasticsearch_index_template.rb HOT 2
- Problem with puppet CA and elasticsearch.keystore
- `bin/plugin` is used insead of `bin/elasticsearch-plugin` on the first run
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-elasticsearch.