X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=manifests%2Fbackports.pp;h=8555cb0f7a2c68455fbab71b18ee122f5a14bc67;hb=65904b214d98c899f390ac6908322fc06e3aca13;hp=afd4ee1c2f67077c851fb06ed694f789e1f660ee;hpb=dc3ead0ed5f4d735869565660c982983d379a519;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/manifests/backports.pp b/manifests/backports.pp index afd4ee1..8555cb0 100644 --- a/manifests/backports.pp +++ b/manifests/backports.pp @@ -1,3 +1,4 @@ +# Defining backports for the apt class class apt::backports ( Optional[String] $location = undef, Optional[String] $release = undef, @@ -32,7 +33,7 @@ class apt::backports ( } } else { unless $location and $release and $repos and $key { - fail('If not on Debian or Ubuntu, you must explicitly pass location, release, repos, and key') + fail(translate('If not on Debian or Ubuntu, you must explicitly pass location, release, repos, and key')) } } @@ -46,7 +47,7 @@ class apt::backports ( 'release' => $_release, } } else { - fail('pin must be either a string, number or hash') + fail(translate('pin must be either a string, number or hash')) } apt::source { 'backports':