Re: [Puppet Users] How to use Agent on localized Windows?

Josh Cooper
Wed, 09 Jan 2013 22:43:12 -0000

On Wed, Jan 9, 2013 at 2:56 AM, Евгений Верещагин
<e.vereschagin@gmail.com> wrote:
> OK, I try this;
>
> 1. Create site.pp with strings:
>
> file { ''D:/тест.txt'':
> content => ''Hello, world!'',
> }
>
> 2. Run Puppet Agent.
> 3. Make file on D: with unreadable name (screenshot)

This is definitely a bug in ruby 1.8.7. I can see, using Process
Monitor, that ruby is calling CreateFile with a mangled filename.

> 4. Download zip-file from http://rubyinstaller.org (ruby-1.9.3-p362)
> 5. Unzip to C:/Program Files/Puppet Labs/Puppet/sys/ruby with rewriting.
> 6. Run Agent.
> 7. I saw a lot of new problems (screenshot): not enough some GEMs.

You''ll need to use puppet 3, the latest stable release is 3.0.2:

  https://downloads.puppetlabs.com/windows/

Josh

--
Josh Cooper
Developer, Puppet Labs