X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fparams.pp;h=ae26a7dfda57248a5a02b22fb0a7073b44e855d0;hb=9f2fd0cb6d191e7883a140fb160d8fefaa685a66;hp=479ac122358b44bc0aff9639d336904b33a65e94;hpb=3daa01a35e2438a54205a4478625509a4b2e1354;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/params.pp b/manifests/params.pp index 479ac12..ae26a7d 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -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