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