X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fsource.pp;h=9adf6a2336ee764db234216e1cf0b20b413ef48a;hb=89c747ab3b2caad9b36b8ce53a693537f4db6f36;hp=734f375f21fa88135b24a3a7ba10ecd55f20f756;hpb=0ca555f5525f20ba9dfc4518459b17956b28e886;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/source.pp b/manifests/source.pp index 734f375..9adf6a2 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 = true, ) { 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 {