here's my config:

Master
Ubuntu 12.04
Puppet 3.3.1
Ruby 1.9.3 p448

Agent 
Windows 7 (Simplified Chinese)
Puppet 3.3.1
Ruby 1.9.3

when I run "puppet agent -t"

I got following error on server side:

> Debug: node supports formats: pson b64_zlib_yaml yaml raw
> Debug: Warning: calling Plugins.search with empty module path.
> Debug: file_metadata supports formats: pson b64_zlib_yaml yaml raw
> Error: Could not intern from pson: "\xD6" on US-ASCII
> Debug: Finishing transaction -617897918
> Debug: Received report to process from haoy-pc.infobird.com
> Debug: Processing report from haoy-pc.infobird.com with processor 
> Puppet::Reports::Store


>  
I edited "/usr/lib/ruby/vendor_ruby/puppet/indirector/catalog/compiler.rb"

  def extract_facts_from_request(request)
  ...
      facts = Puppet::Node::Facts.convert_from(format, 
CGI.unescape(text_facts).force_encoding('UTF-8'))
      end
  ...

then the problem disappears

the question is , is there any other way to let webrick use UTF-8, or it is 
all right to use ascii encoded text in  "Puppet::Node::Facts.convert_from"





-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-dev.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to