An open API service indexing awesome lists of open source software.

https://github.com/ivpusic/salt-elasticsearch-formula

Salt formula for running Elasticsearch cluster using zen of aws discovery
https://github.com/ivpusic/salt-elasticsearch-formula

elasticsearch salt salt-formula saltstack saltstack-formula

Last synced: about 1 month ago
JSON representation

Salt formula for running Elasticsearch cluster using zen of aws discovery

Awesome Lists containing this project

README

          

# salt-elasticsearch-formula

Salt formula for installing elasticsearch (5.X.X) to ubuntu

Example `top.sls`:

```yaml
base:
'*':
- elasticsearch
```

#### Example pillar for single node:

```yaml
elasticsearch:
lookup:
cluster_name: 'salt-cluster'
version: '5.6.3'
use_memory: 0.5
bootstrap:
memory_lock: 'true'
network:
host: '0.0.0.0'
```

#### Example pillar for zen discovery:

```yaml
elasticsearch:
lookup:
cluster_name: 'salt-cluster'
version: '5.6.3'
use_memory: 0.5
bootstrap:
memory_lock: 'true'
network:
host: '0.0.0.0'
discovery:
zen:
hosts:
- '172.17.0.3'
- '172.17.0.4'
- '172.17.0.5'
```

#### Example pillar for aws discovery:

```yaml
elasticsearch:
lookup:
cluster_name: 'salt-cluster'
version: '5.6.3'
use_memory: 0.5
bootstrap:
memory_lock: 'true'
network:
host: '0.0.0.0'
discovery:
aws:
access_key: ''
secret_key: ''
region: ''
security_groups: ''
plugins:
discovery-ec2: discovery-ec2
```