A while ago I asked here for solutions with windows and puppet 3.x
I always got this error during the agent run:
> Could not intern from pson: "\xE4" on US-ASCII
After trying and debugging for a long time I finally found the right
comment in the right bug report:
http://projects.puppetlabs.com/issues/12702
https://tickets.puppetlabs.com/browse/PUP-1225
The problem is/was that in a German Windows facter answers with German
umlauts in windows-1250 character set instead of UTF-8. This is
something Puppet can't handle and quits.
C:\Program Files (x86)\Puppet Labs\Puppet\bin>facter timezone
Mitteleurop\344ische Zeit
In the bug report the user comment describes an (ugly) workaround to this:
One has to patch this file (on ALL client PCs!):
C:/Program Files (x86)/Puppet Labs/Puppet/facter/lib/facter/timezone.rb
----------------------------
+ Iconv.iconv("UTF-8", "windows-1250",Time.new.zone)
- Time.new.zone
----------------------------
After doing that the puppet agent finally runs without throwing errors. \o/
Hopefully this will be fixed upstream soon. The bug is 2 years old!
HTHH someone,
Andy.
--
People with courage and character always seem sinister to the rest.
(Hermann Hesse)