InstallationΒΆ

Generally, extensions need to be installed into the same Python environment Salt uses.

Install Salt Elasticsearch extension:
  pip.installed:
    - name: saltext-elasticsearch
salt-pip install saltext-elasticsearch
pip install saltext-elasticsearch

Salt itself is expected to be provided by the environment. If it should be pip-managed as well, request the salt extra:

pip install 'saltext-elasticsearch[salt]'

Hint

Saltexts are not distributed automatically via the fileserver like custom modules, they need to be installed on each node you want them to be available on.