Merge pull request #1006 from puppetlabs/release-prep
[puppet-modules/puppetlabs-apt.git] / manifests / init.pp
index a20748f4364da22559475dd67dcb605db47ef0df..fdfd600781b9fb2cfbbedf10ff2a6de1451499b5 100644 (file)
@@ -153,12 +153,19 @@ class apt (
   String $preferences_d         = $apt::params::preferences_d,
   String $apt_conf_d            = $apt::params::apt_conf_d,
   Hash $config_files            = $apt::params::config_files,
-  Hash $source_key_defaults     = $apt::params::source_key_defaults,
   Boolean $sources_list_force   = $apt::params::sources_list_force,
+
+  Hash $source_key_defaults = {
+    'server'  => $keyserver,
+    'options' => undef,
+    'content' => undef,
+    'source'  => undef,
+  }
+
 ) inherits apt::params {
 
   if $facts['os']['family'] != 'Debian' {
-    fail(translate('This module only works on Debian or derivatives like Ubuntu'))
+    fail('This module only works on Debian or derivatives like Ubuntu')
   }
 
   if $update['frequency'] {