InstallationΒΆ
Generally, extensions need to be installed into the same Python environment Salt uses.
Install Salt Stalekey extension:
pip.installed:
- name: saltext-stalekey
salt-pip install saltext-stalekey
pip install saltext-stalekey
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-stalekey[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.