Skip to content

Commit 18fe46c

Browse files
authored
Merge pull request #979 from david22swan/IAC-1497/main/translate_removal
(IAC-1497) - Removal of unsupported `translate` dependency
2 parents e6e1e24 + 9ef0502 commit 18fe46c

File tree

14 files changed

+22
-386
lines changed

14 files changed

+22
-386
lines changed

.fixtures.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ fixtures:
22
repositories:
33
"stdlib":
44
"repo": "https://github.com/puppetlabs/puppetlabs-stdlib.git"
5-
"translate":
6-
"repo": "https://github.com/puppetlabs/puppetlabs-translate"
75
facts: 'https://github.com/puppetlabs/puppetlabs-facts.git'
86
puppet_agent: 'https://github.com/puppetlabs/puppetlabs-puppet_agent.git'
97
provision: 'https://github.com/puppetlabs/provision.git'

locales/config.yaml

Lines changed: 0 additions & 26 deletions
This file was deleted.

locales/ja/puppetlabs-apt.po

Lines changed: 0 additions & 155 deletions
This file was deleted.

locales/puppetlabs-apt.pot

Lines changed: 0 additions & 177 deletions
This file was deleted.

manifests/backports.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
}
7373
if (!($facts['os']['name'] == 'Debian' or $facts['os']['name'] == 'Ubuntu')) {
7474
unless $location and $release and $repos and $key {
75-
fail(translate('If not on Debian or Ubuntu, you must explicitly pass location, release, repos, and key'))
75+
fail('If not on Debian or Ubuntu, you must explicitly pass location, release, repos, and key')
7676
}
7777
}
7878
unless $location {
@@ -98,7 +98,7 @@
9898
'release' => $_release,
9999
}
100100
} else {
101-
fail(translate('pin must be either a string, number or hash'))
101+
fail('pin must be either a string, number or hash')
102102
}
103103

104104
apt::source { 'backports':

manifests/conf.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
unless $ensure == 'absent' {
2424
unless $content {
25-
fail(translate('Need to pass in content parameter'))
25+
fail('Need to pass in content parameter')
2626
}
2727
}
2828

0 commit comments

Comments
 (0)