Issue #22129 has been updated by Melissa Stone.
Released in Puppet 3.4.0-rc1
Bug #22129: file checksumming assumes UTF-8 on ruby-2.0
https://projects.puppetlabs.com/issues/22129#change-100454
* Author: Dustin Mitchell
* Status: Closed
* Priority:
Issue #22129 has been updated by Melissa Stone.
Released in Puppet 3.4.0-rc1
Bug #22129: file checksumming assumes UTF-8 on ruby-2.0
https://projects.puppetlabs.com/issues/22129#change-100548
* Author: Dustin Mitchell
* Status: Closed
* Priority:
Issue #22129 has been updated by Melissa Stone.
Released in Puppet 3.4.0-rc1
Bug #22129: file checksumming assumes UTF-8 on ruby-2.0
https://projects.puppetlabs.com/issues/22129#change-100664
* Author: Dustin Mitchell
* Status: Closed
* Priority:
Issue #22129 has been updated by Melissa Stone.
Released in Puppet 3.4.0-rc1
Bug #22129: file checksumming assumes UTF-8 on ruby-2.0
https://projects.puppetlabs.com/issues/22129#change-100750
* Author: Dustin Mitchell
* Status: Closed
* Priority:
Issue #22129 has been updated by Melissa Stone.
Released in Puppet 3.4.0-rc1
Bug #22129: file checksumming assumes UTF-8 on ruby-2.0
https://projects.puppetlabs.com/issues/22129#change-100898
* Author: Dustin Mitchell
* Status: Closed
* Priority:
Issue #22129 has been updated by Dustin Mitchell.
Yes - I expect that does require a new bug. Can you include the output of a
run with --trace in that bug? Also, note that Redmine will show text monospace
if you indent it - that can help readability.
Issue #22129 has been updated by Luke Alexander.
Great, thanks!
Bug #22129: file checksumming assumes UTF-8 on ruby-2.0
https://projects.puppetlabs.com/issues/22129#change-97211
* Author: Dustin Mitchell
* Status: In Topic Branch Pending Review
*
Issue #22129 has been updated by Luke Alexander.
Maybe not a good solution, but has allowed my manifests to compile normally,
while a better solution arrives.
Adding the encoding to the only function that I was seeing the error from
doesn't seem so bad to me while the above is true.
Issue #22129 has been updated by Dustin Mitchell.
Sure, but given the presence of a non-footgun solution in
https://github.com/puppetlabs/puppet/pull/1831, I'd recommend using that :)
Bug #22129: file checksumming assumes UTF-8 on ruby-2.0
Issue #22129 has been updated by Luke Alexander.
Affected Puppet version set to 3.2.4
I'm also seeing this problem with puppet 3.2.4 on Debian Wheezy running Ruby
1.9.3.
The solution for me was to add the encoding to the extlookup.rb function:
Encoding.default_external = Encoding::UTF_8
Issue #22129 has been updated by Dustin Mitchell.
That's not a terribly good solution - you're changing the defaults *globally*
for the entire puppet process, which will probably break other things.
Also, since you're setting the encoding to UTF_8, you're still at risk of
problems from
Issue #22129 has been updated by Dustin Mitchell.
elsif checksum?(value)
# XXX This is potentially dangerous because it means users can't write
a file whose
# entire contents are a plain checksum
that's evil
Bug #22129: file
12 matches
Mail list logo