aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2010-10-17 17:44:19 +0200
committerintrigeri <intrigeri@boum.org>2010-10-17 17:44:19 +0200
commitc43bfac6b80489cf789fe448abb3561a6655a969 (patch)
tree7b54cf4f48d4d4e8480faee5b9d83d7d31f91129
parent8a9bea09e95eb2c5d4a3933e4a19a754387ed2ac (diff)
downloadpuppet-apt-c43bfac6b80489cf789fe448abb3561a6655a969.tar.gz
puppet-apt-c43bfac6b80489cf789fe448abb3561a6655a969.tar.bz2
Ensure apt-listbugs is absent in dist-upgrade mode.
Else it will crash automatic upgrades.
-rw-r--r--manifests/cron/dist-upgrade.pp2
1 files changed, 2 insertions, 0 deletions
diff --git a/manifests/cron/dist-upgrade.pp b/manifests/cron/dist-upgrade.pp
index 069601f..3d7cf16 100644
--- a/manifests/cron/dist-upgrade.pp
+++ b/manifests/cron/dist-upgrade.pp
@@ -8,6 +8,8 @@ dist-upgrade -y -o APT::Get::Show-Upgraded=true
ensure => absent,
}
+ package { "apt-listbugs": ensure => absent }
+
config_file { "/etc/cron-apt/action.d/4-dist-upgrade":
content => $action,
require => Package[cron-apt]