State module to manage Elasticsearch indices
New in version 2015.8.0.
Deprecated since version 2017.7.0: Use elasticsearch state instead
Ensure that the named index is absent.
Name of the index to remove
New in version 2015.8.0.
Changed in version 2017.3.0: Marked definition
as optional.
Ensure that the named index is present.
Name of the index to add
Optional dict for creation parameters as per https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html
Example:
# Default settings
mytestindex:
elasticsearch_index.present
# Extra settings
mytestindex2:
elasticsearch_index.present:
- definition:
settings:
index:
number_of_shards: 10
Generated on December 18, 2024 at 17:29:07 UTC.
You are viewing docs for the previous stable release, 3006.9. Switch to docs for the latest stable release, 3007.1, or to a recent doc build from the master branch.
© 2024 VMware, Inc. | Privacy Policy