summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2011-02-18 22:41:36 +0100
committerintrigeri <intrigeri@boum.org>2011-02-18 22:41:36 +0100
commit14cd91de33c823c093bb6a9af3ac9f7d27a0500b (patch)
tree9fe9c4f23c0f0ac102ccf9b966d438d48520ef0e
parent840ea9ed9d3e0a26e5a70db2143ebb3f0fea13b4 (diff)
apt::cron::dist-upgrade: silently keep old version of conffiles.
This makes this class' behaviour consistent with the apt::dist_upgrade one and prevents stalled upgrades due to dpkg asking questions to a dumb robot.
-rw-r--r--manifests/cron/dist-upgrade.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/cron/dist-upgrade.pp b/manifests/cron/dist-upgrade.pp
index 3d7cf16..2568cb7 100644
--- a/manifests/cron/dist-upgrade.pp
+++ b/manifests/cron/dist-upgrade.pp
@@ -1,7 +1,7 @@
class apt::cron::dist-upgrade inherits apt::cron::base {
$action = "autoclean -y
-dist-upgrade -y -o APT::Get::Show-Upgraded=true
+dist-upgrade -y -o APT::Get::Show-Upgraded=true -o 'DPkg::Options::=--force-confold'
"
file { "/etc/cron-apt/action.d/3-download":