15 lines
571 B
Puppet
15 lines
571 B
Puppet
class apt::unattended_upgrades {
|
|
|
|
package { 'unattended-upgrades':
|
|
ensure => present
|
|
}
|
|
|
|
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'],
|
|
}
|
|
}
|