Skip to content

Bugfix/puppet locale

elijah requested to merge elijah/platform:bugfix/puppet-locale into develop

when you ssh to a server, it sets the LANG environment variable based on your workstation.

but, this LANG environment variable doesn't match any of the installed locales on the server, then i think it falls back to the non-UTF8 default.

then, when puppet is run, it doesn't enable UTF8 support and all the file input output command for ruby fall back to ascii and bomb out when they hit a UTF8 character.

so, the quick solution is to force a lang of en_US.UTF-8 when puppet is run because that is the UTF8 locale that we know will be available on the server. We know this, because it is set in node_init.

Merge request reports