X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Felasticsearch%2FREADME.md;h=d14c45b1d2d75d5904cb35f9b5ca4160399b0af9;hb=43399d5ea3021906158f39a3bd3bda728b00947d;hp=096e1bbc9d22ff69b98e2efdceeb569b04991963;hpb=47e66c55978a019774cdbfa777be7bbcec325863;p=mirror%2Fdsa-puppet.git diff --git a/3rdparty/modules/elasticsearch/README.md b/3rdparty/modules/elasticsearch/README.md index 096e1bbc9..d14c45b1d 100644 --- a/3rdparty/modules/elasticsearch/README.md +++ b/3rdparty/modules/elasticsearch/README.md @@ -111,7 +111,7 @@ See [Advanced features](#advanced-features) for more information ###Plug-ins -Install [a variety of plugins](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-plugins.html#known-plugins): +Install [a variety of plugins](http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-plugins.html#known-plugins). Note that `module_dir` is where the plugin will install itself to and must match that published by the plugin author; it is not where you would like to install it yourself. ####From official repository ```puppet @@ -146,6 +146,19 @@ elasticsearch::plugin { 'lmenezes/elasticsearch-kopf', * `groupId/artifactId/version` for community plugins (download from maven central or oss sonatype) * `username/repository` for site plugins (download from github master) + +###Scripts + +Install [scripts](http://www.elastic.co/guide/en/elasticsearch/reference/1.x/modules-scripting.html) to be used by Elasticsearch. +These scripts are shared accross all defined instances on the same host. + +```puppet +elasticsearch::script { 'myscript': + ensure => 'present', + source => 'puppet:///path/to/my/script.groovy' +} +``` + ###Templates #### Add a new template using a file