saltstack / salt-bootstrap

Generic Salt Bootstrap Script
Other
926 stars 545 forks source link

A flag to install Salt Extensions and other PyPI packages #1975

Open max-arnold opened 10 months ago

max-arnold commented 10 months ago

Description of Issue/Question

So, with all these modules being moved out of Salt, it would be good to have а way to bootstrap a Salt Master or Minion with a specific set of extensions and other PyPI packages as well (so when Salt starts, the extensions are already installed). Something like the -p flag for salt-bootstrap.sh, but to install modules from PyPI. And the same for Windows Salt bootstrap script.

The important thing is that the modules should be installed before Salt starts, otherwise some automations like reactors or startup_states can kick in too early.

The module versions should be pinnable

max-arnold commented 10 months ago

A related issue: https://github.com/saltstack/salt-bootstrap/issues/1933