Many: expose rhsm.subscription_manager.rhsm.auto_enable_yum_plugins

Expose the ${SUBJ} customization in Cloud API. Weldr API inherited it
automatically with the update of `osbuild/blueprint` to v1.6.0.

Adjust relevant test cases and unit tests to use this new customization.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This commit is contained in:
Tomáš Hozza 2025-04-29 13:32:45 +02:00 committed by Achilleas Koutsou
parent 6f4c2899f8
commit 7036e2bcb9
6 changed files with 257 additions and 238 deletions

View file

@ -572,7 +572,8 @@ func TestBlueprintsCustomizationInfoToml(t *testing.T) {
},
"subscription_manager": {
"rhsm": {
"manage_repos": true
"manage_repos": true,
"auto_enable_yum_plugins": false
},
"rhsmcertd": {
"auto_registration": false
@ -693,7 +694,8 @@ func TestBlueprintsCustomizationInfoToml(t *testing.T) {
},
SubscriptionManager: &blueprint.SubManConfig{
RHSMConfig: &blueprint.SubManRHSMConfig{
ManageRepos: common.ToPtr(true),
ManageRepos: common.ToPtr(true),
AutoEnableYumPlugins: common.ToPtr(false),
},
RHSMCertdConfig: &blueprint.SubManRHSMCertdConfig{
AutoRegistration: common.ToPtr(false),