summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apt/templates
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2015-05-06 22:33:23 +0200
committervarac <varacanero@zeromail.org>2015-05-06 22:33:23 +0200
commit35e1e99d5cee374a3d3c1d1605aaa6ef5b60ac1d (patch)
tree50595a28bd0036e99af67207baae7c4d6b867aaa /puppet/modules/site_apt/templates
parent6a8a321ba50740181c27a6b9e8a82efd9edc3788 (diff)
parent93e7f4738f0596a052ce7181586b13d0da064ebb (diff)
Merge branch '0.7.0' into develop
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";