saltstack / saltstack/salt-bootstrap

[FEATURE REQUEST] A flag to install Salt Extensions and other PyPI packages

Open
#1,975 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
952
Forks
543
Avg merge
1d 7h
Merged PRs (30d)
5

Description

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. The feature should also support custom (and possibly authenticated) PyPI repositories

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading salt-bootstrap.sh, the existing -p flag handling, and the Windows Salt bootstrap script. Define the changes needed so requested PyPI packages are installed before Salt starts, with pinned versions and custom or authenticated repositories supported on both platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
devops, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.