Fix typo
[puppet-modules/puppetlabs-apt.git] / manifests / params.pp
index e3cc8252f99ab34127b221080f5d7b2ffa80cdc0..cf6547a44ccc205936e38c0549241a1c6046d626 100644 (file)
@@ -1,9 +1,5 @@
 class apt::params {
 
-  if defined('$caller_module_name') and $caller_module_name and $caller_module_name != $module_name {
-    fail('apt::params is a private class and cannot be accessed directly')
-  }
-
   if $::osfamily != 'Debian' {
     fail('This module only works on Debian or derivatives like Ubuntu')
   }
@@ -61,7 +57,6 @@ class apt::params {
   }
 
   $update_defaults = {
-    'always'    => false,
     'frequency' => 'reluctantly',
     'timeout'   => undef,
     'tries'     => undef,