From 9a3068016feffa328bf6e0f265e316eb813b7ee8 Mon Sep 17 00:00:00 2001 From: varac Date: Sun, 14 Apr 2013 14:54:10 +0200 Subject: using distribution sprecific files again --- files/Debian/50unattended-upgrades.wheezy | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 files/Debian/50unattended-upgrades.wheezy (limited to 'files/Debian/50unattended-upgrades.wheezy') diff --git a/files/Debian/50unattended-upgrades.wheezy b/files/Debian/50unattended-upgrades.wheezy new file mode 100644 index 0000000..4463406 --- /dev/null +++ b/files/Debian/50unattended-upgrades.wheezy @@ -0,0 +1,14 @@ +// this file is managed by puppet ! + +Unattended-Upgrade::Allowed-Origins { + "${distro_id}:testing"; + "${distro_id}:${distro_codename}-security"; + "${distro_id}:${distro_codename}-updates"; + "${distro_id} Backports:${distro_codename}-backports"; +}; + +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 From 4b2e554f8f3a84433e71955664a71ae8123c0543 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 29 May 2013 12:51:18 -0300 Subject: Changing 'testing' to 'wheezy' on 50unattended-upgrades.wheezy --- files/Debian/50unattended-upgrades.wheezy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files/Debian/50unattended-upgrades.wheezy') diff --git a/files/Debian/50unattended-upgrades.wheezy b/files/Debian/50unattended-upgrades.wheezy index 4463406..0901ad3 100644 --- a/files/Debian/50unattended-upgrades.wheezy +++ b/files/Debian/50unattended-upgrades.wheezy @@ -1,7 +1,7 @@ // this file is managed by puppet ! Unattended-Upgrade::Allowed-Origins { - "${distro_id}:testing"; + "${distro_id}:stable"; "${distro_id}:${distro_codename}-security"; "${distro_id}:${distro_codename}-updates"; "${distro_id} Backports:${distro_codename}-backports"; -- cgit v1.2.3 From 2e3c8fe71cec14411ccee2736f342440a7fedb92 Mon Sep 17 00:00:00 2001 From: Gabriel Filion Date: Fri, 31 May 2013 10:56:23 -0400 Subject: Regression: lost MailOnlyOnError for unattended-upgrades Since only wheezy supports it, let's add it back only for wheezy. Signed-off-by: Gabriel Filion --- files/Debian/50unattended-upgrades.wheezy | 1 + 1 file changed, 1 insertion(+) (limited to 'files/Debian/50unattended-upgrades.wheezy') diff --git a/files/Debian/50unattended-upgrades.wheezy b/files/Debian/50unattended-upgrades.wheezy index 0901ad3..e787bf5 100644 --- a/files/Debian/50unattended-upgrades.wheezy +++ b/files/Debian/50unattended-upgrades.wheezy @@ -12,3 +12,4 @@ APT::Periodic::Download-Upgradeable-Packages "1"; APT::Periodic::Unattended-Upgrade "1"; Unattended-Upgrade::Mail "root"; +Unattended-Upgrade::MailOnlyOnError "true"; -- cgit v1.2.3 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 ++++++------ files/Debian/50unattended-upgrades.lenny | 13 ------------- files/Debian/50unattended-upgrades.squeeze | 7 ++++--- files/Debian/50unattended-upgrades.wheezy | 15 --------------- 4 files changed, 10 insertions(+), 37 deletions(-) delete mode 100644 files/Debian/50unattended-upgrades.lenny delete mode 100644 files/Debian/50unattended-upgrades.wheezy (limited to 'files/Debian/50unattended-upgrades.wheezy') 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"; diff --git a/files/Debian/50unattended-upgrades.lenny b/files/Debian/50unattended-upgrades.lenny deleted file mode 100644 index d55bb29..0000000 --- a/files/Debian/50unattended-upgrades.lenny +++ /dev/null @@ -1,13 +0,0 @@ -// this file is managed by puppet ! - -Unattended-Upgrade::Allowed-Origins { - "Debian oldstable"; - "Debian-Security oldstable"; -}; - -APT::Periodic::Update-Package-Lists "1"; -APT::Periodic::Download-Upgradeable-Packages "1"; -APT::Periodic::Unattended-Upgrade "1"; - -Unattended-Upgrade::Mail "root"; - diff --git a/files/Debian/50unattended-upgrades.squeeze b/files/Debian/50unattended-upgrades.squeeze index 8f4a926..e7ba290 100644 --- a/files/Debian/50unattended-upgrades.squeeze +++ b/files/Debian/50unattended-upgrades.squeeze @@ -1,9 +1,10 @@ // this file is managed by puppet ! Unattended-Upgrade::Allowed-Origins { - "Debian oldstable"; - "Debian-Security oldstable"; - "${distro_id} ${distro_codename}-backports"; +// "${distro-id} oldstable"; +// "${distro_id} ${distro_codename}-backports"; + "${distro-id} ${distro-codename}-security"; + "${distro-id} ${distro-codename}-lts"; }; APT::Periodic::Update-Package-Lists "1"; diff --git a/files/Debian/50unattended-upgrades.wheezy b/files/Debian/50unattended-upgrades.wheezy deleted file mode 100644 index e787bf5..0000000 --- a/files/Debian/50unattended-upgrades.wheezy +++ /dev/null @@ -1,15 +0,0 @@ -// 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"; -}; - -APT::Periodic::Update-Package-Lists "1"; -APT::Periodic::Download-Upgradeable-Packages "1"; -APT::Periodic::Unattended-Upgrade "1"; - -Unattended-Upgrade::Mail "root"; -Unattended-Upgrade::MailOnlyOnError "true"; -- cgit v1.2.3