1fe1fe66c3
We do want to see \n expanded in this string.
29 lines
648 B
Puppet
29 lines
648 B
Puppet
class apt::cron::dist_upgrade inherits apt::cron::base {
|
|
|
|
$action = "autoclean -y
|
|
dist-upgrade -y -o APT::Get::Show-Upgraded=true -o 'DPkg::Options::=--force-confold'
|
|
"
|
|
|
|
file { '/etc/cron-apt/action.d/3-download':
|
|
ensure => absent,
|
|
}
|
|
|
|
package { 'apt-listbugs': ensure => absent }
|
|
|
|
file { '/etc/cron-apt/action.d/4-dist-upgrade':
|
|
content => $action,
|
|
owner => root,
|
|
group => 0,
|
|
mode => '0644',
|
|
require => Package[cron-apt];
|
|
}
|
|
|
|
file { '/etc/cron-apt/config.d/MAILON':
|
|
content => "MAILON=upgrade\n",
|
|
owner => root,
|
|
group => 0,
|
|
mode => '0644',
|
|
require => Package[cron-apt];
|
|
}
|
|
|
|
}
|