X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Funattended_upgrades.pp;h=028ffc647c0ba74dbcdc6d2d4c258d70eab3f211;hb=3799e3a23c7d4e74c99aa4ec7e42de0b486ffe67;hp=069c3593dd627ebd6207f595e5633540b248f021;hpb=2b84dd142e759a09cf7011248ea317197e115362;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/unattended_upgrades.pp b/manifests/unattended_upgrades.pp index 069c359..028ffc6 100644 --- a/manifests/unattended_upgrades.pp +++ b/manifests/unattended_upgrades.pp @@ -14,6 +14,7 @@ # file and in /etc/cron.daily/apt # class apt::unattended_upgrades ( + $legacy_origin = $::apt::params::legacy_origin, $origins = $::apt::params::origins, $blacklist = [], $update = '1', @@ -40,6 +41,7 @@ class apt::unattended_upgrades ( ) inherits ::apt::params { validate_bool( + $legacy_origin, $auto_fix, $minimal_steps, $install_on_shutdown, @@ -64,7 +66,7 @@ class apt::unattended_upgrades ( 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'], } @@ -73,7 +75,7 @@ class apt::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'], } }