Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (17 sloc) 958 Bytes
To use this module:
1.) You will need to download the version of elasticsearch you are running and add it to the modules /files folder.
http://www.elasticsearch.org/download/
2.) You will also need to download the elasticsearch service wrapper
https://github.com/elasticsearch/elasticsearch-servicewrapper
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 role_prod_dbserver {
class { elasticsearch: version => "0.15.2" }
}
This version number should correspond to the version of ES you downloaded from the above link.
The filenames should look like:
/etc/puppet/modules/elasticsearch/files/elasticsearch-${version}.tar.gz
- and -
/etc/puppet/modules/elasticsearch/files/elasticsearch-servicewrapper.tar.gz
For additional information see my blog post here:
http://www.visibiz.com/blog/hunter/elasticsearch/elasticsearch-puppet-module