1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
# OpenBSD package items
Handles packages installed by `pkg_add` on OpenBSD systems.
pkg_openbsd = {
"foo": {
"installed": True, # default
},
"bar": {
"installed": True,
"version": "1.0",
},
"baz": {
"installed": False,
},
"qux": {
"flavor": "no_x11",
},
}
<br><br>
# Attribute reference
See also: [The list of generic builtin item attributes](../repo/items.py.md#builtin-item-attributes)
<hr>
## installed
`True` when the package is expected to be present on the system; `False` if it should be purged.
<hr>
## flavor
Optional, defaults to the "normal" flavor.
Can be used together with `version`. Ignored when `installed` is `False`.
<hr>
## version
Optional version string. Can be used to select one specific version of a package.
Can be used together with `flavor`. Ignored when `installed` is `False`.
|