# file and in /etc/cron.daily/apt
#
class apt::unattended_upgrades (
+ $legacy_origin = $::apt::params::legacy_origin,
$origins = $::apt::params::origins,
$blacklist = [],
$update = '1',
) inherits ::apt::params {
validate_bool(
+ $legacy_origin,
$auto_fix,
$minimal_steps,
$install_on_shutdown,
owner => 'root',
group => 'root',
mode => '0644',
- content => template('apt/50unattended-upgrades.erb'),
+ content => template('apt/_header.erb', 'apt/50unattended-upgrades.erb'),
require => Package['unattended-upgrades'],
}
owner => 'root',
group => 'root',
mode => '0644',
- content => template('apt/10periodic.erb'),
+ content => template('apt/_header.erb', 'apt/10periodic.erb'),
require => Package['unattended-upgrades'],
}
}