From b584e92a6b654eee9427cd56d7317aa0125c92a4 Mon Sep 17 00:00:00 2001
From: Varac <varac@leap.se>
Date: Fri, 17 Nov 2017 16:10:18 +0100
Subject: [PATCH] Bug: Fix unattended-upgrades for LEAP debs

Resolves: #8891
---
 puppet/modules/site_apt/templates/51unattended-upgrades-leap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/puppet/modules/site_apt/templates/51unattended-upgrades-leap b/puppet/modules/site_apt/templates/51unattended-upgrades-leap
index 3e28531f..2a3494ef 100644
--- a/puppet/modules/site_apt/templates/51unattended-upgrades-leap
+++ b/puppet/modules/site_apt/templates/51unattended-upgrades-leap
@@ -1,5 +1,5 @@
 // this file is managed by puppet !
 
 Unattended-Upgrade::Origins-Pattern {
-  "site=deb.leap.se,component=<%= @apt_platform_component %>";
+  "site=deb.leap.se,codename=<%= @apt_platform_component %>";
 }
-- 
GitLab