When using a non-English version of the Windows installer, the architecture
of the machine is not being properly read. The install.ps1.erb script was
looking for "64-bit", but the "bit" part of that gets translated.
From user yoshito teshigahara (@tesi) on Slack:
Hi all. I installed puppet agent on a Windows 2012R2 with Razor/Broker and I found the puppet agent of 32-bit was installed on Win 2012R2. I changed the sixth line of install.ps1.erb "-eq '64-bit'" to "-match '64'", and then I could successfully installed puppet agent of 64-bit on it. My Win 2012R2 is Japanese Version, so if you execute the "Get-WmiObject -Class Win32_OperatingSystem | Select-Object -ExpandProperty OSArchitecture" on it, you get return value in Japanese("bit" is written in Japanese). So I think "-match '64'" is better for Windows of Japanese Version. If you have the other solution, please share your way.
|RN - Non-English Windows installation||Closed|