Merge pull request #1 from puppet-community/daenney/remove_unattended_upgrades_remains
[puppet-modules/puppetlabs-apt.git] / manifests / source.pp
index c5ed3a640289d30b1362e1b5a789fc1645e9fb68..3e9414f11db8121fccae496092455512565a32e0 100644 (file)
@@ -18,8 +18,6 @@ define apt::source(
   $architecture      = undef,
   $trusted_source    = false,
 ) {
-
-  include apt::params
   include apt::update
 
   validate_string($architecture)
@@ -44,7 +42,7 @@ define apt::source(
     owner   => root,
     group   => root,
     mode    => '0644',
-    content => template("${module_name}/source.list.erb"),
+    content => template('apt/_header.erb', 'apt/source.list.erb'),
     notify  => Exec['apt_update'],
   }