saltstack / saltstack/salt

[FEATURE REQUEST] Support salt:// sources for pip.installed

Open
#62,758 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Feature
Dominant language
Python
Stars
15.7k
Forks
5.6k
Avg merge
2d 44m
Merged PRs (30d)
80

Description

Is your feature request related to a problem? Please describe.
Distributing python packages to air-gapped systems where pypi is not available.

Describe the solution you'd like
To allow using Salt as a repository for python packages, similar to how pkg.installed can be used.

pygit2:
  pip.installed:
    - name: salt://wheels/pygit2-1.10.1-cp38_amd64.whl

or possibly a separate argument.

Describe alternatives you've considered
Using a separate file states to first push the packages to the minion.

Related
#62751

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 the pip.installed and pkg.installed entry points and the related issue #62751, focusing on how salt:// sources are handled. Define whether this uses an argument or a separate mechanism, then verify that the example wheel can be obtained from Salt and installed on an air-gapped minion with suitable tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.