Skip to content

Commit

Permalink
(IAC-1497) - Removal of unsupported translate dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
David Swan committed Mar 16, 2021
1 parent e6e1e24 commit f4bbfe9
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 386 deletions.
2 changes: 0 additions & 2 deletions .fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ fixtures:
repositories:
"stdlib":
"repo": "https://github.com/puppetlabs/puppetlabs-stdlib.git"
"translate":
"repo": "https://github.com/puppetlabs/puppetlabs-translate"
facts: 'https://github.com/puppetlabs/puppetlabs-facts.git'
puppet_agent: 'https://github.com/puppetlabs/puppetlabs-puppet_agent.git'
provision: 'https://github.com/puppetlabs/provision.git'
Expand Down
26 changes: 0 additions & 26 deletions locales/config.yaml

This file was deleted.

155 changes: 0 additions & 155 deletions locales/ja/puppetlabs-apt.po

This file was deleted.

177 changes: 0 additions & 177 deletions locales/puppetlabs-apt.pot

This file was deleted.

4 changes: 2 additions & 2 deletions manifests/backports.pp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
}
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 {
Expand All @@ -98,7 +98,7 @@
'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':
Expand Down
2 changes: 1 addition & 1 deletion manifests/conf.pp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

unless $ensure == 'absent' {
unless $content {
fail(translate('Need to pass in content parameter'))
fail('Need to pass in content parameter')
}
}

Expand Down
Loading

0 comments on commit f4bbfe9

Please sign in to comment.