Re: [Puppet Users] Finally found workaround for problem with German windows clients

2014-02-07 Thread Andy Spiegl
Hi Josh, This assumes Time.new.zone returns a string encoded with the Windows-1250 code page. You are probably better off omitting the source encoding, since ruby should already know what it is: Time.new.zone.encode(UTF-8) Thanks for this information! While facter 2 isn't out,

Re: [Puppet Users] Finally found workaround for problem with German windows clients

2014-02-03 Thread Josh Cooper
Hi Andy, On Wed, Jan 29, 2014 at 10:28 AM, Andy Spiegl puppet.a...@spiegl.de wrote: Following up on my own post: One has to patch this file (on ALL client PCs!): C:/Program Files (x86)/Puppet Labs/Puppet/facter/lib/facter/timezone.rb +

[Puppet Users] Finally found workaround for problem with German windows clients

2014-01-29 Thread Andy Spiegl
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:

Re: [Puppet Users] Finally found workaround for problem with German windows clients

2014-01-29 Thread Andy Spiegl
Following up on my own post: 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 I