aboutsummaryrefslogtreecommitdiff
path: root/files/50unattended-upgrades
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2013-01-08 13:54:57 +0100
committerintrigeri <intrigeri@boum.org>2013-01-08 14:05:49 +0100
commit354283d54ea4f03a4ecdb53db2868ec1ced87dbc (patch)
tree13dc58b9892f196d954c98ffa60b08ecdb393b3c /files/50unattended-upgrades
parent2fe3df225c1144d108a7f33f90344310b55687a4 (diff)
parentf3daf58b9eb14aba385c20abb73191c0c408f367 (diff)
downloadpuppet-apt-354283d54ea4f03a4ecdb53db2868ec1ced87dbc.tar.gz
puppet-apt-354283d54ea4f03a4ecdb53db2868ec1ced87dbc.tar.bz2
Merge remote-tracking branch 'leap/feature/unattended_upgrades' into review
Conflicts: files/lenny/50unattended-upgrades
Diffstat (limited to 'files/50unattended-upgrades')
-rw-r--r--files/50unattended-upgrades20
1 files changed, 20 insertions, 0 deletions
diff --git a/files/50unattended-upgrades b/files/50unattended-upgrades
new file mode 100644
index 0000000..ebf9f49
--- /dev/null
+++ b/files/50unattended-upgrades
@@ -0,0 +1,20 @@
+// this file is managed by puppet !
+
+Unattended-Upgrade::Origins-Pattern {
+ // Debian
+ "o=${distro_id},n=${distro_codename}";
+ "o=${distro_id},n=${distro_codename}-updates";
+ "o=${distro_id},n=${distro_codename},l=Debian-security";
+ "o=${distro_id} Backports,n=${distro_codename}-backports";
+ // Ubuntu specific
+ "o=${distro_id},a=${distro_codename}-security";
+ "o=${distro_id},a=${distro_codename}-backports";
+ "o=${distro_id},a=${distro_codename}-proposed";
+};
+
+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";