summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/50unattended-upgrades17
1 files changed, 12 insertions, 5 deletions
diff --git a/files/50unattended-upgrades b/files/50unattended-upgrades
index a6f22ab..7d4835c 100644
--- a/files/50unattended-upgrades
+++ b/files/50unattended-upgrades
@@ -1,12 +1,19 @@
// this file is managed by puppet !
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=${distro_id},n=${distro_codename},l=Debian-security";
+ // Debian
+ "o=${distro_id},a=${distro_codename}";
+ "o=${distro_id},a=${distro_codename},l=Debian-security";
+ "o=${distro_id} Backports,a=${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";
-