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 From 0a1eee280f8fad6cdcdde806ffb1d172877da505 Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Wed, 29 Oct 2014 18:14:36 -0400 Subject: Fix default 50unattended-upgrades because of Debian bug #704087 --- files/Debian/50unattended-upgrades | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'files/Debian/50unattended-upgrades') diff --git a/files/Debian/50unattended-upgrades b/files/Debian/50unattended-upgrades index 88f4ab8..78c7187 100644 --- a/files/Debian/50unattended-upgrades +++ b/files/Debian/50unattended-upgrades @@ -1,10 +1,7 @@ // this file is managed by puppet ! 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"; + "o=Debian,a=stable,l=Debian-Security"; } APT::Periodic::Update-Package-Lists "1"; -- cgit v1.2.3 From fb9e13eebf00af2cd6a92eb600a1dd85d3eec5b2 Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Wed, 29 Oct 2014 18:40:16 -0400 Subject: Add oldstable to default 50unattended-upgrades --- files/Debian/50unattended-upgrades | 1 + 1 file changed, 1 insertion(+) (limited to 'files/Debian/50unattended-upgrades') diff --git a/files/Debian/50unattended-upgrades b/files/Debian/50unattended-upgrades index 78c7187..075f680 100644 --- a/files/Debian/50unattended-upgrades +++ b/files/Debian/50unattended-upgrades @@ -1,6 +1,7 @@ // this file is managed by puppet ! Unattended-Upgrade::Origins-Pattern { + "o=Debian,a=oldstable,l=Debian-Security"; "o=Debian,a=stable,l=Debian-Security"; } -- cgit v1.2.3 From 9192785c452ce2cfa0f58984d3aebdcaf841113a Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Sat, 27 Jul 2013 13:38:27 -0400 Subject: make it possible to opt out of MailOnlyOnError This combines all files into one template. It should make maintenance easier. --- files/Debian/50unattended-upgrades | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 files/Debian/50unattended-upgrades (limited to 'files/Debian/50unattended-upgrades') diff --git a/files/Debian/50unattended-upgrades b/files/Debian/50unattended-upgrades deleted file mode 100644 index 075f680..0000000 --- a/files/Debian/50unattended-upgrades +++ /dev/null @@ -1,12 +0,0 @@ -// this file is managed by puppet ! - -Unattended-Upgrade::Origins-Pattern { - "o=Debian,a=oldstable,l=Debian-Security"; - "o=Debian,a=stable,l=Debian-Security"; -} - -APT::Periodic::Update-Package-Lists "1"; -APT::Periodic::Download-Upgradeable-Packages "1"; -APT::Periodic::Unattended-Upgrade "1"; - -Unattended-Upgrade::Mail "root"; -- cgit v1.2.3