(MODULES-3307) - Auto update expired keys
[puppet-modules/puppetlabs-apt.git] / manifests / params.pp
index 479ac122358b44bc0aff9639d336904b33a65e94..ae26a7dfda57248a5a02b22fb0a7073b44e855d0 100644 (file)
@@ -1,8 +1,11 @@
-# Setting params for the module
+# @summary Provides defaults for the Apt module parameters.
+# 
+# @api private
+#
 class apt::params {
 
   if $::osfamily != 'Debian' {
-    fail('This module only works on Debian or derivatives like Ubuntu')
+    fail(translate('This module only works on Debian or derivatives like Ubuntu'))
   }
 
   $root           = '/etc/apt'
@@ -94,7 +97,7 @@ class apt::params {
       $ppa_package        = 'software-properties-common'
     }
     undef: {
-      fail('Unable to determine value for fact os["name"]')
+      fail(translate('Unable to determine value for fact os[\"name\"]'))
     }
     default: {
       $ppa_options = undef