2009-10-30 20:35:30 +01:00
|
|
|
class apt::unattended_upgrades {
|
2010-12-07 19:18:41 +01:00
|
|
|
|
|
|
|
package { 'unattended-upgrades':
|
2013-06-27 17:58:39 +02:00
|
|
|
ensure => present
|
2009-10-30 23:07:12 +01:00
|
|
|
}
|
2009-10-30 20:51:31 +01:00
|
|
|
|
2013-01-02 14:12:11 +01:00
|
|
|
apt_conf { '50unattended-upgrades':
|
2012-06-06 02:31:15 +02:00
|
|
|
source => [
|
2013-04-14 14:54:10 +02:00
|
|
|
"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" ],
|
2010-10-09 13:39:39 +02:00
|
|
|
require => Package['unattended-upgrades'],
|
2013-02-01 11:01:23 +01:00
|
|
|
}
|
2009-10-30 20:35:30 +01:00
|
|
|
}
|