X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=3rdparty%2Fmodules%2Felasticsearch%2FREADME.md;h=9d9ebf436ad63d17eae5743fef4ae22f683a4574;hb=8cd033a69672196c78cedf2ddf0a3f733ad88d5e;hp=d14c45b1d2d75d5904cb35f9b5ca4160399b0af9;hpb=b246ebbfa566fda9b4b46616688a45ea17053588;p=dsa-puppet.git diff --git a/3rdparty/modules/elasticsearch/README.md b/3rdparty/modules/elasticsearch/README.md index d14c45b1..9d9ebf43 100644 --- a/3rdparty/modules/elasticsearch/README.md +++ b/3rdparty/modules/elasticsearch/README.md @@ -46,7 +46,7 @@ This module has been tested against ES 1.0 and up. #### Repository management When using the repository management you will need the following dependency modules: -* Debian/Ubuntu: [Puppetlabs/apt](http://forge.puppetlabs.com/puppetlabs/apt) +* Debian/Ubuntu: [Puppetlabs/apt](http://forge.puppetlabs.com/puppetlabs/apt) Version 1.8.x or lower. * OpenSuSE: [Darin/zypprepo](https://forge.puppetlabs.com/darin/zypprepo) ##Usage @@ -146,6 +146,24 @@ 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) +####Upgrading plugins +When you specify a certain plugin version, you can upgrade that plugin by specifying the new version. + +```puppet +elasticsearch::plugin { 'elasticsearch/elasticsearch-cloud-aws/2.1.1': + module_dir => 'cloud-aws', +} +``` + +And to upgrade, you would simply change it to + +```puppet +elasticsearch::plugin { 'elasticsearch/elasticsearch-cloud-aws/2.4.1': + module_dir => 'cloud-aws', +} +``` + +Please note that this does not work when you specify 'latest' as a version number. ###Scripts @@ -326,6 +344,20 @@ Note: `init_defaults` hash can be passed to the main class and to the instance. ##Advanced features +###Package version pinning + +The module supports pinning the package version to avoid accidental upgrades that are not done by Puppet. +To enable this feature: + +```puppet +class { 'elasticsearch': + package_pin => true, + version => '1.5.2', +} +``` + +In this example we pin the package version to 1.5.2. + ###Data directories @@ -477,8 +509,8 @@ This module has been built on and tested against Puppet 3.2 and higher. The module has been tested on: -* Debian 6/7 -* CentOS 6 +* Debian 6/7/8 +* CentOS 6/7 * Ubuntu 12.04, 14.04 * OpenSuSE 13.x