module-apt/manifests/cron/dist-upgrade.pp
intrigeri c43bfac6b8 Ensure apt-listbugs is absent in dist-upgrade mode.
Else it will crash automatic upgrades.
2010-10-17 17:44:19 +02:00

23 lines
499 B
Puppet

class apt::cron::dist-upgrade inherits apt::cron::base {
$action = "autoclean -y
dist-upgrade -y -o APT::Get::Show-Upgraded=true
"
file { "/etc/cron-apt/action.d/3-download":
ensure => absent,
}
package { "apt-listbugs": ensure => absent }
config_file { "/etc/cron-apt/action.d/4-dist-upgrade":
content => $action,
require => Package[cron-apt]
}
config_file { "/etc/cron-apt/config.d/MAILON":
content => "MAILON=upgrade\n",
require => Package[cron-apt]
}
}