salt.states.solrcloud module

States for solrcloud alias and collection configuration

New in version 2017.7.0.

salt.states.solrcloud.alias(name, collections, **kwargs)

Create alias and enforce collection list.

Use the solrcloud module to get alias members and set them.

You can pass additional arguments that will be forwarded to http.query

name

The collection name

collections

list of collections to include in the alias

salt.states.solrcloud.collection(name, options=None, **kwargs)

Create collection and enforce options.

Use the solrcloud module to get collection parameters.

You can pass additional arguments that will be forwarded to http.query

name

The collection name

options{}

options to ensure