aboutsummaryrefslogtreecommitdiff
path: root/files/50unattended-upgrades
blob: 7d4835c44cd55514ec41f546b42aa12cc8e1bcc4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// this file is managed by puppet !

Unattended-Upgrade::Origins-Pattern {
  // 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";