From 5a8d214529429b5dd898e0df29d69e0acf5271df Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Tue, 28 Oct 2014 14:02:57 -0400 Subject: Change default 50unattended-upgrades on Debian * Use squeeze-lts origin on squeeze * All other releases use newer Origins-Pattern format * Drop support for lenny --- files/Debian/50unattended-upgrades | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'files/Debian/50unattended-upgrades') diff --git a/files/Debian/50unattended-upgrades b/files/Debian/50unattended-upgrades index 0901ad3..88f4ab8 100644 --- a/files/Debian/50unattended-upgrades +++ b/files/Debian/50unattended-upgrades @@ -1,11 +1,11 @@ // this file is managed by puppet ! -Unattended-Upgrade::Allowed-Origins { - "${distro_id}:stable"; - "${distro_id}:${distro_codename}-security"; - "${distro_id}:${distro_codename}-updates"; - "${distro_id} Backports:${distro_codename}-backports"; -}; +Unattended-Upgrade::Origins-Pattern { +// "o=Debian,n=${distro-codename}"; +// "o=Debian,n=${distro-codename}-updates"; +// "o=Debian,n=${distro_codename}-proposed-updates"; + "o=Debian,n=${distro_codename},l=Debian-Security"; +} APT::Periodic::Update-Package-Lists "1"; APT::Periodic::Download-Upgradeable-Packages "1"; -- cgit v1.2.3