InstallationΒΆ

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

Install Salt Apache extension:
  pip.installed:
    - name: saltext-apache
salt-pip install saltext-apache
pip install saltext-apache

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-apache[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.