(MODULES-3581) modulesync [067d08a]
[puppet-modules/puppetlabs-apt.git] / manifests / source.pp
index 1307a3a552be523dfd02f988066eccf47ced7b2a..0bb9b3be7161bd3929e12e08bcfa7d8b7fa715da 100644 (file)
@@ -18,6 +18,7 @@ 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)
@@ -114,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 {