Typos in index_template_present documentation

This commit is contained in:
James Howe 2019-01-07 13:31:30 +00:00 committed by GitHub
parent aeeb047f18
commit 4d7ebe7949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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