Usage:
In your templates.pp or nodes.pp or wherever you define your server roles and applications you can call the elasticsearch module like so:
class es_node {
class { elasticsearch: version => "0.18.7" }
# Install some plugins
elasticsearch::plugin { "cloud-aws" : }
elasticsearch::plugin { "head" : source => "mobz/elasticsearch-head" }
}
This version number should correspond to the version of ES you wish to use.