[Pkg-puppet-devel] Bug#892737: Bug#892737: puppet: /usr/lib/ruby/vendor_ruby/puppet/gettext/config.rb:156:in `copy_default_translations': undefined method `chain'

Apollon Oikonomopoulos apoikos at debian.org
Mon Mar 12 21:28:20 UTC 2018


Control: reassign -1 ruby-gettext-setup
Control: retitle -1 ruby-gettext-setup: outdated version, hijacks gettext and breaks puppet
Control: found -1 0.7-1
Control: tags -1 severity serious

Hi,

On 21:04 Mon 12 Mar     , Mykola Nikishov wrote:
> Package: puppet
> Version: 5.4.0-1
> Followup-For: Bug #892737
> 
> I have librarian-puppet and found out that downgrading it to jessie
> will fix the problem. Downgrade will remove ruby-puppet-forge and
> ruby-gettext-setup.
> 
> Seems ruby-gettext-setup causes this problem.

So, the version of ruby-gettext-setup is pretty outdated and predates 
Puppet's i18n system. When pulled in via i18n-enabled Puppet modules 
(e.g. ruby-puppet-forge), it will completely hijack Puppet's gettext 
default domain, causing breakage. This has been fixed upstream[1] in 
0.17.

We should upgrade ruby-gettext-setup to the latest upstream version.

Regards,
Apollon

[1] https://github.com/puppetlabs/gettext-setup-gem/commit/0fcb0971faf094b0689bf302b04327a09de41c0e



More information about the Pkg-puppet-devel mailing list