summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2014-11-04 11:34:42 -0500
committerMicah Anderson <micah@leap.se>2014-11-04 11:39:20 -0500
commitc150fa3eb79d822850205c0178de9bb5f422ae01 (patch)
tree2a2ed86e977b21d8c825eaf2069dfb3db802f611 /puppet
parent18f5d6ea49446f214cbb764ea223f427aafd641e (diff)
add local 50unattended-upgrades to fix unattended-upgrades not upgrading
leap packages (#4425) Change-Id: I78c00c4410ff9f712206f95854d8803e43acb286
Diffstat (limited to 'puppet')
-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";