blob: 6e0e44a182c2bd59858b4f98a4674bf75d7373f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class apt::unattended_upgrades {
package { 'unattended-upgrades':
ensure => present,
require => Exec['refresh_apt']
}
apt_conf { '50unattended-upgrades':
source => [
"puppet:///modules/site_apt/${::lsbdistid}/50unattended-upgrades.${::lsbdistcodename}",
"puppet:///modules/site_apt/${::lsbdistid}/50unattended-upgrades",
"puppet:///modules/apt/${::lsbdistid}/50unattended-upgrades.${::lsbdistcodename}",
"puppet:///modules/apt/${::lsbdistid}/50unattended-upgrades" ],
require => Package['unattended-upgrades'],
refresh_apt => false
}
}
|