sam-lord / elastic-agent-formula

Home Page:http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elasticsearch

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

Available states

elasticsearch

Installs, configures and runs the Elasticsearch service.

elasticsearch.config

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

elasticsearch.pkg

Installs Elasticsearch.

elasticsearch.repo

Adds the Elasticsearch pkg repo.

elasticsearch.service

Manages the Elasticsearch service.

elasticsearch.sysconfig

Configures defaults/sysconfig env vars for the Elasticsearch service.

elasticsearch.plugins

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

About

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html


Languages

Language:SaltStack 71.2%Language:Python 13.2%Language:Ruby 11.4%Language:HTML 2.6%Language:Shell 1.7%