module-apt/files/50unattended-upgrades

19 lines
635 B
Text

// this file is managed by puppet !
Unattended-Upgrade::Origins-Pattern {
// Debian
"o=${distro_id},n=${distro_codename}";
"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";