compatcheck: Support checking for package manager

Some distros (fedora) have dnf by default but may be atomic also
This commit is contained in:
uumas
2025-01-27 04:54:29 +02:00
parent 34de2fe02b
commit d94cc30aa5
4 changed files with 32 additions and 15 deletions

View File

@@ -30,3 +30,13 @@ argument_specs:
description: Last supported major version. Allows any version if not specified.
type: int
required: false
package_managers:
description: List of supported package managers. Defaults to apt for debian and ubuntu, dnf for fedora, pacman for archlinux
type: list
required: false
elements: str
choices:
- apt
- dnf
- pacman
- atomic_container