From c150fa3eb79d822850205c0178de9bb5f422ae01 Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Tue, 4 Nov 2014 11:34:42 -0500 Subject: add local 50unattended-upgrades to fix unattended-upgrades not upgrading leap packages (#4425) Change-Id: I78c00c4410ff9f712206f95854d8803e43acb286 --- .../modules/site_apt/files/Debian/50unattended-upgrades | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 puppet/modules/site_apt/files/Debian/50unattended-upgrades diff --git a/puppet/modules/site_apt/files/Debian/50unattended-upgrades b/puppet/modules/site_apt/files/Debian/50unattended-upgrades new file mode 100644 index 00000000..f2f574fc --- /dev/null +++ b/puppet/modules/site_apt/files/Debian/50unattended-upgrades @@ -0,0 +1,16 @@ +// 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"; + "leap.se:stable"; +}; + +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