X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Felasticsearch.git;a=blobdiff_plain;f=README.rst;h=966b6b7174bf7ca866bde5fd2eac4acd6c2a2cdc;hp=1d85c546dd457be283f271f0681801f8524ca431;hb=0b13814227f691cd0e476d715c836c348a2228be;hpb=0957e1ebe18b31e03e9a8f43999196e3a75201a4 diff --git a/README.rst b/README.rst index 1d85c54..966b6b7 100644 --- a/README.rst +++ b/README.rst @@ -24,6 +24,17 @@ Single-node elasticsearch with clustering disabled: shards: 1 replicas: 0 +Setup shared repository for snapshots: + +.. code-block:: bash + + elasticsearch: + server: + snapshot: + reponame: + path: /var/lib/glusterfs/repo + compress: true + Cluster with manually defined members: .. code-block:: yaml @@ -57,6 +68,7 @@ Common definition for curator: timeout: 900 logfile: /var/log/elasticsearch/curator.log logformat: json + master_only: true actions: - action: delete_indices description: >- @@ -122,7 +134,19 @@ Common definition for curator: Client setup ------------ -Client with host and port +Client with host and port: + +.. code-block:: yaml + + elasticsearch: + client: + enabled: true + server: + host: elasticsearch.host + port: 9200 + +Client where you download an index template that is stored in the direcotry +*files/*: .. code-block:: yaml @@ -132,6 +156,10 @@ Client with host and port server: host: elasticsearch.host port: 9200 + index: + my_index: + enabled: true + template: elasticsearch/files/my_index_template.json Read more =========