(IAC-1497) - Removal of unsupported `translate` dependency
[puppet-modules/puppetlabs-apt.git] / manifests / backports.pp
index 5949905c5e73273f2655b3d1c330b65dfa048998..39e6f6c0d8d81260514f56deadd53d17bd686b94 100644 (file)
@@ -72,7 +72,7 @@ class apt::backports (
   }
   if (!($facts['os']['name'] == 'Debian' or $facts['os']['name'] == 'Ubuntu')) {
     unless $location and $release and $repos and $key {
-      fail(translate('If not on Debian or Ubuntu, you must explicitly pass location, release, repos, and key'))
+      fail('If not on Debian or Ubuntu, you must explicitly pass location, release, repos, and key')
     }
   }
   unless $location {
@@ -98,7 +98,7 @@ class apt::backports (
       'release'  => $_release,
     }
   } else {
-    fail(translate('pin must be either a string, number or hash'))
+    fail('pin must be either a string, number or hash')
   }
 
   apt::source { 'backports':