Skip to content
This repository has been archived by the owner on Jun 11, 2019. It is now read-only.

Puppet agent error with module containing non US-ASCII strings if master with passenger is not configured for UTF-8. #70

Closed
gwarf opened this issue Oct 30, 2013 · 2 comments

Comments

@gwarf
Copy link
Contributor

gwarf commented Oct 30, 2013

Hello,
When using modules containing non ASCII strings agent fails to run saying

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: invalid byte sequence in US-ASCII

This is issue is reported here: https://projects.puppetlabs.com/issues/20897

Adding the following lines to the config.ru_3 template fixes this:

Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8

Are you interested in a pull request for this?

@alvagante
Copy link
Member

Thanks for the notice.
Would you submit a pull request with the fix?

@gwarf
Copy link
Contributor Author

gwarf commented Nov 6, 2013

Thanks!

@gwarf gwarf closed this as completed Nov 6, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants