blob: 42f1f4c6e17c713b806525b6958d8605771d1c3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# configute unattended upgrades so packages from both Debian and LEAP
# repos get upgraded unattended
class site_apt::unattended_upgrades {
# override unattended-upgrades package resource to make sure
# that it is upgraded on every deploy (#6245)
# configure upgrades for Debian
class { 'apt::unattended_upgrades':
ensure_version => latest
}
# configure LEAP upgrades
apt::apt_conf { '51unattended-upgrades-leap':
source => [
"puppet:///modules/site_apt/${::lsbdistid}/51unattended-upgrades-leap"],
require => Package['unattended-upgrades'],
refresh_apt => false,
}
}
|