You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While debugging an issue with Puppetserver and UTF8 data loaded from YAML (through YAML::Store), I found out that YAML::Store can't read or write UTF8 characters from or to a file. While using standard yaml it works fine.
Environment
jruby 1.7.27 (1.9.3p551) 2017-05-11 8cdb01a on OpenJDK 64-Bit Server VM 1.8.0_141-b16 +jit [linux-amd64]
The fix for #4770 (done manually on master and in ruby/psych#328) is entirely in the Psych library, so whenever they release 3.0.0 it should be possible for you to upgrade it (if it isn't wrapped up inside Puppet).
Since your example is working in 9.1.12.0 we will call this one fixed. We have no plans to release any more JRuby 1.7.x.
Puppet server really needs to update to a JRuby 9k build though. Not sure who we should talk to about that these days.
Relates to and likely fixed by #4784 in all versions that can install it.
While debugging an issue with Puppetserver and UTF8 data loaded from YAML (through YAML::Store), I found out that YAML::Store can't read or write UTF8 characters from or to a file. While using standard yaml it works fine.
Environment
It works using 9.1.12.0, however given the default runtime for Puppetserver is still 1.7.27 -> https://docs.puppet.com/puppetserver/5.0/configuration.html#configuring-the-jruby-version
I tried with this version.
What follows is an easy test case to reproduce the problem.
Reproduce
The text was updated successfully, but these errors were encountered: