stages/rhsm: extract plugins defintion
This is so that it can be reused by a new `yum-plugins` section.
This commit is contained in:
parent
58ec1c9a83
commit
0e9fcad8fc
1 changed files with 8 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue