allow to deseclect OS

This commit is contained in:
2022-06-21 11:46:21 +02:00
parent 8886547823
commit 65da785c85

View File

@@ -57,13 +57,13 @@ base::pkg_group::java:
**to be implemented**
Certain packages are only used on a given OS Version, so
Certain packages are only used on a given OS Version, so a `=` with the OS name and the major version selects a package only for given OS, where as a `-` will filter away given package on hosts with given OS, so they are not installed there.
```
base::pkg_group::java:
- 'java-1.8.0-openjdk:redhat7'
- 'java-1.8.0-openjdk:=redhat7'
- 'java-11-openjdk'
- 'java-17-openjdk:redhat8'
- 'java-17-openjdk:-redhat7'
```
Note that this tag can be combined with the `latest` and `absent` tag.