summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apt/templates
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2015-05-06 13:06:28 -0400
committerMicah Anderson <micah@leap.se>2015-05-06 16:27:40 -0400
commit06f282523fdeb06b00d20d1e38f7ddf5604ffd84 (patch)
tree7594423c1623d357ac032088f5ea3109492fb3bf /puppet/modules/site_apt/templates
parent05f4ab41911375ac037cb85bbdb9ad7916f6a4ec (diff)
fix unattended-upgrades now that jessie has been released
Change-Id: I69e6a0f8e676be72bce492af32fef76c9167f5ee
Diffstat (limited to 'puppet/modules/site_apt/templates')
-rw-r--r--puppet/modules/site_apt/templates/50unattended-upgrades16
1 files changed, 16 insertions, 0 deletions
diff --git a/puppet/modules/site_apt/templates/50unattended-upgrades b/puppet/modules/site_apt/templates/50unattended-upgrades
new file mode 100644
index 00000000..9ae3ab84
--- /dev/null
+++ b/puppet/modules/site_apt/templates/50unattended-upgrades
@@ -0,0 +1,16 @@
+// this file is managed by puppet !
+
+Unattended-Upgrade::Allowed-Origins {
+ "${distro_id}:oldstable";
+ "${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";