-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Labels
Status: UntriagedAn issue that has yet to be triaged.An issue that has yet to be triaged.Type: BugDoes not work as expected.Does not work as expected.
Description
Version:
currently deployed: https://omnitruck.chef.io/install.ps1
Environment:
Windows with non-English locale, x64
Scenario:
Run install.ps1, appropriate version should be installed automatically.
Expected Result:
x86_64 architecture is detected
Actual Result:
i386 architecture is detected
Additional info
I've traced the problem to here:
| if ((Get-Win32OS).osarchitecture -like '64-bit') { |
According to documentation, value of OSArchitecture property is localized.
For me, it is 64-разрядная (in Russian).
However, I'm not sure on the best fix for this.
WMI has Locale parameter, but passing MS_409 doesn't change anything.
The same issue: belowaverage-org/SuperGrate#45. They ended up with simple checking for substring 64.
KSerrania, mx-psi and limitusus
Metadata
Metadata
Assignees
Labels
Status: UntriagedAn issue that has yet to be triaged.An issue that has yet to be triaged.Type: BugDoes not work as expected.Does not work as expected.