]> gitweb.fluxo.info Git - puppet-apt.git/commitdiff
Set custom unattended-upgrades config atop of wheezy's default settings
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 1 Apr 2013 16:14:41 +0000 (13:14 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 1 Apr 2013 16:14:41 +0000 (13:14 -0300)
files/wheezy/50unattended-upgrades

index 2aafa39db94d63f64c41019f73c1187c4b104373..300f1feb97895475e504c7aa195feea5fce55e71 100644 (file)
@@ -4,9 +4,9 @@ Unattended-Upgrade::Origins-Pattern {
         // Note that this will silently match a different release after
         // migration to the specified archive (e.g. testing becomes the
         // new stable).
-//      "o=Debian,a=stable";
-//      "o=Debian,a=stable-updates";
-//      "o=Debian,a=proposed-updates";
+        "o=Debian,a=stable";
+        "o=Debian,a=stable-updates";
+        "o=Debian,a=proposed-updates";
         "origin=Debian,archive=stable,label=Debian-Security";
 };
 
@@ -39,7 +39,7 @@ Unattended-Upgrade::Package-Blacklist {
 // If empty or unset then no email is sent, make sure that you
 // have a working mail setup on your system. A package that provides
 // 'mailx' must be installed. E.g. "user@example.com"
-//Unattended-Upgrade::Mail "root";
+Unattended-Upgrade::Mail "root";
 
 // Set this value to "true" to get emails only on errors. Default
 // is to always send a mail if Unattended-Upgrade::Mail is set
@@ -57,3 +57,7 @@ Unattended-Upgrade::Package-Blacklist {
 // Use apt bandwidth limit feature, this example limits the download
 // speed to 70kb/sec
 //Acquire::http::Dl-Limit "70";
+
+APT::Periodic::Update-Package-Lists "1";
+APT::Periodic::Download-Upgradeable-Packages "1";
+APT::Periodic::Unattended-Upgrade "1";