blob: 4a19fec17f30a34ba6e7eef9bbe4b8853486b39c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
class apt::cron::download inherits apt::cron::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,
}
file { '/etc/cron-apt/action.d/3-download':
content => $action,
require => Package[cron-apt],
owner => root,
group => 0,
mode => '0644';
}
file { '/etc/cron-apt/config.d/MAILON':
content => "MAILON=changes\n",
require => Package[cron-apt],
owner => root,
group => 0,
mode => '0644';
}
}
|