Plugins - SindreSvendby/puppet-elasticsearch GitHub Wiki

This define allows you to install arbitrary Elasticsearch plugins either by using the default repositories or by specifying an URL

All default values are defined in the elasticsearch::params class.

Parameters

[module_dir] Directory name where the module will be installed Value type is string Default value: None This variable is required

[ensure] Whether the plugin will be installed or removed. Set to 'absent' to ensure a plugin is not installed Value type is string Default value: present This variable is optional

[url] Specify an URL where to download the plugin from. Value type is string Default value: None This variable is optional

Examples

From official repository

elasticsearch::plugin{'mobz/elasticsearch-head': module_dir => 'head' }

From custom url

elasticsearch::plugin{ 'elasticsearch-jetty': module_dir => 'elasticsearch-jetty', url => 'https://oss-es-plugins.s3.amazonaws.com/elasticsearch-jetty/elasticsearch-jetty-0.90.0.zip' }