X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fsource.pp;h=0bb9b3be7161bd3929e12e08bcfa7d8b7fa715da;hb=38263ac768349bf0eab56194aa70f4a78fb664af;hp=734f375f21fa88135b24a3a7ba10ecd55f20f756;hpb=f1fe05ec2b73ba5dd8466f85fa40e61a29586f8c;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/source.pp b/manifests/source.pp index 734f375..0bb9b3b 100644 --- a/manifests/source.pp +++ b/manifests/source.pp @@ -18,12 +18,14 @@ define apt::source( $key_content = undef, $key_source = undef, $trusted_source = undef, + $notify_update = undef, ) { validate_string($architecture, $comment, $location, $repos) validate_bool($allow_unsigned) validate_hash($include) - include 'apt::params' + # This is needed for compat with 1.8.x + include ::apt $_before = Apt::Setting["list-${title}"] @@ -113,8 +115,9 @@ define apt::source( } apt::setting { "list-${name}": - ensure => $ensure, - content => template('apt/_header.erb', 'apt/source.list.erb'), + ensure => $ensure, + content => template('apt/_header.erb', 'apt/source.list.erb'), + notify_update => $notify_update, } if $pin {