aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-01 13:14:41 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-01 13:14:41 -0300
commit57087b302bd0a02cf4c594b1aaad5d7882059076 (patch)
treeeb0cbec45232fdd90917695c50d6ee634ed2117c
parente1ce6326f5c8c8ed08954ce2dce1b494adfcdafb (diff)
downloadpuppet-apt-57087b302bd0a02cf4c594b1aaad5d7882059076.tar.gz
puppet-apt-57087b302bd0a02cf4c594b1aaad5d7882059076.tar.bz2
Set custom unattended-upgrades config atop of wheezy's default settings
-rw-r--r--files/wheezy/50unattended-upgrades12
1 files changed, 8 insertions, 4 deletions
diff --git a/files/wheezy/50unattended-upgrades b/files/wheezy/50unattended-upgrades
index 2aafa39..300f1fe 100644
--- a/files/wheezy/50unattended-upgrades
+++ b/files/wheezy/50unattended-upgrades
@@ -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";