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

Josh Cooper
Wed, 02 Jan 2013 23:17:25 -0000

Hi Евгений,

On Fri, Dec 21, 2012 at 2:57 AM, Евгений Верещагин
<e.vereschagin@gmail.com> wrote:
> I try configure Puppet for manage Windows. My OS is localized, all system
> users and paths are renamed. If I write some russian text, puppet agent
> can''t work correctly. For example, if I create user:
>
> user { ''Тест2'':
> comment => ''Test user2 comment'',
> password => ''pass'',
> }
>
> I have bad name of user (in attach). This problem appears because Puppet
use
> UTF, bat Windows cmd.exe use 866-codepage for Russian. I try add chcp 65001
> command to puppet bat-files, but it did not help.
> I try write manifest in 866-codepage, but Puppet Agent crash on startup.
>
> My platforms:
> Server 3.0.1 on Debian Wheezy.
> Agent 3.0.1 on Windows 7 Ultimate, Russian 64-bit.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/Wy8ghUFWP2QJ.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.

I''m able to reproduce this problem and I''ve filed the issue as
https://projects.puppetlabs.com/issues/18323. Using ruby 1.9 and
fixing the computer_name method as mentioned in the ticket, I am able
to create a user. If you are seeing other issues, e.g. file names,
etc, please let us know.

Thanks,
Josh

--
Josh Cooper
Developer, Puppet Labs