InstallationΒΆ

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

:::{tab} State

Install Salt Consul extension:
  pip.installed:
    - name: saltext-consul

:::

:::{tab} Onedir installation

salt-pip install saltext-consul

:::

:::{tab} Regular installation

pip install saltext-consul

:::

:::{important} Currently, there is an issue where the installation of a Saltext fails silently if the environment already has another one installed. You can workaround this by removing all Saltexts and reinstalling them in one transaction. :::

:::{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. :::