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