From 20f8483d81e16d6fb0babfeebec84c223d507754 Mon Sep 17 00:00:00 2001 From: Michael Mraka Date: Thu, 5 Sep 2024 10:56:09 +0200 Subject: [PATCH] RHINENG-9505: vmaas updates for template system are applicable if a systems has template updates reported by yum_updates are installable updates reported by vmaas are applicable --- evaluator/evaluate.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/evaluator/evaluate.go b/evaluator/evaluate.go index 8af76c84c..c2905389d 100644 --- a/evaluator/evaluate.go +++ b/evaluator/evaluate.go @@ -323,8 +323,8 @@ func getUpdatesData(ctx context.Context, system *models.SystemPlatform) (*vmaas. utils.LogWarn("Vmaas response error, continuing with yum updates only", vmaasErr.Error()) } - if system.SatelliteManaged { - // satellite managed systems has vmaas updates APPLICABLE instead of INSTALLABLE + if system.SatelliteManaged || system.TemplateID != nil { + // satellite managed systems and systems using template has vmaas updates APPLICABLE instead of INSTALLABLE mergedUpdateList := vmaasData.GetUpdateList() for nevra := range mergedUpdateList { (*mergedUpdateList[nevra]).SetUpdatesInstallability(APPLICABLE)