add pip support and some docs

This commit is contained in:
nd 2024-04-12 23:27:55 +02:00
parent 50614b4407
commit 3574eac7f6
5 changed files with 63 additions and 33 deletions

View file

@ -1,43 +1,39 @@
# Packages
## Supported
Handels package management using system and language specific package tools
Only Apt and Debian Stretch.
## Defaults
Other versions might work but are not tested.
```
# sets the default for packages.pkg , see *pkg*
default_packages_pkg:
provider: system
```
## Parameters and defaults
packages:
pkg: {}
repos: {}
## Parameters
All configuration is to be placed inside the `packages` dict.
```
# dictionary of package names to install. The key is the name of the packages, value musst be != none as none is used as knock out.
pkg: {}
# name: *pkg*, see below for definition
pkg:
# dictionary of repositories to setup, the key is used as name for the repository. See **repo** for definition for the content
repos: {}
# name: *repo*, see below for definition
repos:
```
**pkg**:
```
# can be "system" or "pip-system"
provider: system
```
**repo**:
```
# url to repo, example: "http://www.deb-multimedia.org stretch main non-free"
url: ''
# only set either key, keyurl or keyid + keyserver
# gpg key to add for this repo
key: ''
# url to download a gpg key for this repo from
keyurl: ''
# key id of the key to add, for example "36A1D7869245C8950F966E92D8576A8BA88D21E9"
keyid: ''
# key server to get the key from, for example "keyserver.ubuntu.com"
keyserver:
key:
keyid:
keyurl:
keyurl:
url:
```