Puppet Elasticsearch Versions Save

Elasticsearch Puppet module

6.1.0

6 years ago

Features

  • Removed tea module dependency for pre-existing types in stdlib module.
  • Support file as a file_rolling_type.
  • Added java_opts parameter to elasticsearch::plugin resource.
  • Brought some options in jvm.options up-to-date with upstream.
  • Plugins can now have their JAVA_HOME set through the java_home parameter.

Fixes

  • Fixed issue with ES_PATH_CONF being unset in SysV init files.

6.0.0

6 years ago

6.0.0 (Month Day, Year)

Major version upgrade with several important deprecations:

  • Puppet version 3 is no longer supported.
  • Package pinning is no longer supported.
  • Java installation is no longer supported.
  • The python and ruby defined types have been removed.
  • Repo management through manage_repo is now set to true by default.
  • All *_hiera_merge parameters have been removed.

Minor:

  • elasticsearch::plugin only accepts present or absent
  • Some REST-resource based providers (such as templates and pipelines) now validate parameters (such as numeric port numbers) more rigorously.

The following migration guide is intended to help aid in upgrading this module.

Migration Guide

Puppet 3.x No Longer Supported

Puppet 4.5.0 is the new minimum required version of Puppet, which offers better safety, module metadata, and Ruby features. Migrating from Puppet 3 to Puppet 4 is beyond the scope of this guide, but the official upgrade documentation can help. As with any version or module upgrade, remember to restart any agents and master servers as needed.

Package Pinning No Longer Supported

Package pinning caused lots of unexpected behavior and usually caused more problems than solutions. If you still require package pinning, consider using the apt::pin resource on Debian-based systems or a yum::versionlock resource from the yum module for Red Hat-based systems.

Java Installation No Longer Supported

Java installation was a very simple operation in this module which simply declared an instance of the java class but created conflicts for users who managed Java separately. If you still wish to configure Java alongside this module, consider using the puppetlabs/java module and installing Java with the following configuration:

class { "java" : distribution => "jre" }

This will install a version of Java suitable for Elasticsearch in most situations. Note that in some older distributions, you may need to take extra steps to install a more recent version of Java that supports Elasticsearch.

Removal of Python and Ruby Resources

These resource types were simple wrappers around package resources with their providers set to pip and gem, respectively. Simply defining your own resources similarly to:

package { 'elasticsearch' : provider => 'pip' }

Is sufficient.

Automatic Package Repository Management

This parameter is now set to true by default to automatically manage the Elastic repository. If you do not wish to configure the repository to automatically retrieve package updates, set this parameter to false:

class { 'elasticsearch': manage_repo => false }

Removal of hiera_merge Parameters

Updates to Hiera in later versions of Puppet mean that you can set merging behavior in end-user configuration. Read the upstream Hiera documentation regarding lookup_options to learn how to configure Hiera appropriately for your needs.

5.5.0

6 years ago

5.5.0 (November 13, 2017)

Features

  • Updated puppetlabs/java dependency to < 5.0.0

Fixes

  • Properly support plugin installation on 6.x series with explicit ES_PATH_CONF
  • set file ownership of systemd service file to root user/group
  • Fix propagating the pid_dir into OpenBSD rcscript

5.4.3

6 years ago

Features

  • Bumped puppet/java dependency to < 3.0.0

Fixes

  • Append --quiet flag to >= 5.x versions of Elasticsearch systemd service units
  • Disable es_facts collection on SearchGuard nodes with TLS enabled

5.4.2

6 years ago

Features

  • Bumped puppet/yum dependency to < 3.0.0

Fixes

  • Custom facts no longer attempt to connect to SSL/TLS secured ports.

5.4.1

6 years ago

Fixed an issue where logging_yml_ensure and log4j2_ensure would not propagate to elasticsearch::instance resources.

5.4.0

6 years ago

5.4.0 (August 3, 2017)

Features

  • The api_timeout parameter is now passed to the es_instance_conn_validator resource for index, pipeline, and template defined types.
  • Updated puppetlabs/apt dependency to < 5.0.0.
  • Both the logging.yml and log4j2.properties files can be selectively enabled/disabled with the logging_yml_ensure and log4j2_ensure parameters on the elasticsearch class and elasticsearch::instance defined type.
  • jvm_options are now controllable on a per-instance basis.

Fixes

  • Fixed an edge case with es_instance_validator in which ruby connection errors were not caught.
  • Plugins with colon-delimited names (such as maven plugins) are properly handled now.
  • Fixed a bug that would cause dependency cycles when using parameters to create defined types.

5.3.1

6 years ago

5.3.1 (June 14, 2017)

Summary

Minor release to fix bugs related to the elasticsearch_keystore type and generated docs.

Features

  • Moved documentation to Yard for doc auto-generation for all classes/types/etc.

Fixes

  • Fixed dependency order bug with the elasticsearch_keystore type and augeas defaults resource.

5.3.0

6 years ago

Minor bugfix release with added support for managing Elasticsearch keystores, custom repository URLs, and more.

Features

  • Failures are no longer raised when no instances are defined for a plugin and service restarts are not requested.
  • The datadir for instances can now be shared among multiple instances by using the datadir_instance_directories parameter.
  • repo_baseurl is now exposed as a top-level parameter for users who wish to control custom repositories.
  • elasticsearch-keystore values can now be managed via native Puppet resources.

Fixes

  • log4j template now properly respects deprecation logging settings.

5.2.0

7 years ago

5.2.0 (May 5, 2017)

Summary

Release supporting several new features and bugfixes for 5.4.0 users and users who need the ability to update plugins.

Features

  • Support for Shield/X-Pack logging configuration file added.
  • The elasticsearch::script type now supports recursively managing directories of scripts.
  • All module defined types can now be managed as top-level hash parameters to the elasticsearch class (primarily for hiera and PE)

Fixes

  • Fixed a bug that prevented plugins from being updated properly.
  • Fixed deprecated default.path options introduced in Elasticsearch 5.4.0.