diff --git a/puppet/modules/site_apt/templates/51unattended-upgrades-leap b/puppet/modules/site_apt/templates/51unattended-upgrades-leap
index 3e28531f880ce9a0d8acf726ee650ea42dab3092..2a3494ef181d297d8f3ad00704691ab93aad4dd1 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 %>";
 }