[Pkg-puppet-devel] Bug#782494: puppet: Non-ASCII user realnames cause encoding errors when running with a UTF-8 locale

Tero Marttila tero.marttila at paivola.fi
Sat Jul 18 13:52:53 UTC 2015


Hi,

I can confirm that the patch in #22 to lib/puppet/type/user.rb fixes 
this issue against Debian jessie puppet 3.7.2-4.

User resources with non-ASCII comments now behave correctly when running 
the puppet agent with LANG=C.UTF-8. My previous workaround with LANG=C 
now produces "Error: incompatible character encodings: ASCII-8BIT and 
UTF-8", which makes more sense (note the reversed order of the encodings).

I was not able to test the spec/unit/type/user_spec.rb patch, it has 
some minor differences in puppet 3.7.

  -- Tero Marttila



More information about the Pkg-puppet-devel mailing list