Uploaded image for project: 'Razor'
  1. Razor
  2. RAZOR-941

Fix 64-bit puppet agent installation on non-English Windows

    XMLWordPrintable

    Details

    • Template:
    • Team:
      Analytics
    • Story Points:
      1
    • Sprint:
      Analytics 2016-10-19

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              scott.mcclellan Scott McClellan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support