summaryrefslogtreecommitdiff
path: root/puppet/modules
diff options
context:
space:
mode:
authormicah anderson <micah@riseup.net>2014-11-16 01:57:16 +0800
committerGerrit Code Review <gerrit2@review.leap.se>2014-11-16 01:57:16 +0800
commit266a72ab88a18d9525cc2ad763b639205c411b0c (patch)
treef1450df82b3d4f9fe1e2abb3836155ee6097259c /puppet/modules
parentd62f07ab408c6ff4d9d28a452c855ee6ed6cd758 (diff)
parentc150fa3eb79d822850205c0178de9bb5f422ae01 (diff)
Merge "add local 50unattended-upgrades to fix unattended-upgrades not upgrading leap packages (#4425)" into develop
Diffstat (limited to 'puppet/modules')
-rw-r--r--puppet/modules/site_apt/files/Debian/50unattended-upgrades16
1 files changed, 16 insertions, 0 deletions
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";