module-apt/manifests/cron/dist-upgrade.pp

22 lines
451 B
ObjectPascal
Raw Normal View History

2010-10-10 11:09:25 +02:00
class apt::cron::dist-upgrade inherits apt::cron::base {
2010-10-06 14:06:50 +02:00
$action = "autoclean -y
dist-upgrade -y -o APT::Get::Show-Upgraded=true
"
file { "/etc/cron-apt/action.d/3-download":
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]
}
}