stages/rhsm: extract plugins defintion

This is so that it can be reused by a new `yum-plugins` section.
This commit is contained in:
Christian Kellner 2021-11-05 11:56:21 +00:00 committed by Tomáš Hozza
parent 58ec1c9a83
commit 0e9fcad8fc

View file

@ -29,9 +29,8 @@ import osbuild.api
SCHEMA = """
"additionalProperties": false,
"properties": {
"dnf-plugins": {
"definitions": {
"plugins": {
"additionalProperties": false,
"type": "object",
"description": "RHSM DNF plugins configuration",
@ -59,6 +58,12 @@ SCHEMA = """
}
}
}
}
},
"additionalProperties": false,
"properties": {
"dnf-plugins": {
"$ref": "#/definitions/plugins"
},
"subscription-manager": {
"additionalProperties": false,