Typos in index_template_present documentation

This commit is contained in:
James Howe 2019-01-07 13:31:30 +00:00 committed by Ch3LL
parent 3bf189e80b
commit 437d8b5279
No known key found for this signature in database
GPG key ID: 132B55A7C13EFA73

View file

@ -234,10 +234,10 @@ def index_template_absent(name):
def index_template_present(name, definition, check_definition=False):
'''
Ensure that the named index templat eis present.
Ensure that the named index template is present.
name
Name of the index to add
Name of the index to check
definition
Required dict for creation parameters as per https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-templates.html
check_definition
@ -248,7 +248,7 @@ def index_template_present(name, definition, check_definition=False):
.. code-block:: yaml
mytestindex2_template:
elasticsearch_index_template.present:
elasticsearch.index_template_present:
- definition:
template: logstash-*
order: 1