https://github.com/saltstack-formulas/elasticsearch-formula
https://github.com/saltstack-formulas/elasticsearch-formula
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/saltstack-formulas/elasticsearch-formula
- Owner: saltstack-formulas
- Created: 2016-07-15T09:06:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2021-09-21T11:46:58.000Z (over 4 years ago)
- Last Synced: 2025-04-07T00:41:36.739Z (10 months ago)
- Language: SaltStack
- Homepage: http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
- Size: 50.8 KB
- Stars: 21
- Watchers: 36
- Forks: 113
- Open Issues: 27
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
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
================
.. contents::
:local:
``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