summaryrefslogtreecommitdiff
path: root/puppet/modules/site_apt/files
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2012-12-14 16:59:21 +0100
committervarac <varacanero@zeromail.org>2012-12-14 16:59:21 +0100
commitd0e49a478584b6ac6e18846e2f0b9b4c0d1c5b21 (patch)
tree8c9248cbc6624afa892cb570c1e8bf8860e1cdb6 /puppet/modules/site_apt/files
parente074a620b3b661a46469f3bba43e699ec77c1a27 (diff)
deploy custom unettended upgrade file
Diffstat (limited to 'puppet/modules/site_apt/files')
-rw-r--r--puppet/modules/site_apt/files/50unattended-upgrades13
1 files changed, 13 insertions, 0 deletions
diff --git a/puppet/modules/site_apt/files/50unattended-upgrades b/puppet/modules/site_apt/files/50unattended-upgrades
new file mode 100644
index 00000000..1639e68a
--- /dev/null
+++ b/puppet/modules/site_apt/files/50unattended-upgrades
@@ -0,0 +1,13 @@
+Unattended-Upgrade::Origins-Pattern {
+ "o=${distro_id},n=${distro_codename}";
+ "o=${distro_id},n=${distro_codename}-updates";
+ "o=${distro_id},n=${distro_codename}-proposed-updates";
+ "o=${dis tro_id},n=${distro_codename},l=Debian-security";
+};
+
+
+Unattended-Upgrade::Mail "root";
+
+Unattended-Upgrade::MailOnlyOnError "true";
+
+