Elasticsearch

Formula to install and configure Elasticsearch. Supports 2.x and 5.x.

Note

See the full Salt Formulas installation and usage instructions.

Available states

Installs, configures and runs the Elasticsearch service.

Configures Elasticsearch. Custom options can be specified via custom_options and are rendered as yaml in the elasticsearch config.

Installs Elasticsearch.

Adds the Elasticsearch pkg repo.

Manages the Elasticsearch service.

Configures defaults/sysconfig env vars for the Elasticsearch service.

Allows configuration of elasticsearch plugins.

Notes

  • Pillar elasticsearch:config:custom_options has been removed. Use elasticsearch:config to set any configuration.

Testing

Testing is done with Test Kitchen for machine setup and testinfra for integration tests.

Requirements

  • Python
  • Ruby
  • Docker
pip install -r requirements.txt
gem install bundler
bundle install
bundle exec kitchen test