Salt Stack Formula to set up and configure Elasticsearch, a distributed restful search and analytics server
- This formula aims to follow the conventions and recommendations described at http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html#conventions-formula and http://docs.saltstack.com/en/latest/topics/best_practices.html
None
- Add this repository as a GitFS backend in your Salt master config.
- Configure your Pillar top file (
/srv/pillar/top.sls
) and your pillars, see pillar.example.sls - Include this Formula within another Formula or simply define your needed states within the Salt top file (
/srv/salt/top.sls
).
Setup and configure Elasticsearch
You may find the following formulas helpful, too:
Some states/ commands may refer to templates which aren't included in the files folder (elasticsearch/files
). Take a look at contrib/
(if present) for e.g. template examples and place them in separate file roots (e.g. Git repository, refer to GitFS) in your Salt master config.
- custom execution module: https://github.com/bechtoldt/salt-modules (formhelper.get_default)
Contributions are always welcome. All development guidelines you have to know are
- set a shebang in the first line (e.g.
#!jinja|yaml
) - write clean code (proper YAML+Jinja syntax, no trailing whitespaces, no empty lines with whitespaces, LF only)
- set sane default settings
- test your code
- update README.rst doc
Tested with:
- 2014.7
Tested with:
- GNU/ Linux Debian Wheezy
- Ubuntu 14.04 (Trusty)