win_servermanager.py should check win version and bitness #30350
Labels
Bug
broken, incorrect, or confusing behavior
Execution-Module
P3
Priority 3
Platform
Relates to OS, containers, platform-based utilities like FS, system based apps
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Windows
Milestone
win_servermanager.py relies on the ServerManager powershell module.
The ServerManager module is only available on 64bit windows versions 2008R2 and higher.
If a user (for some horrible reason) has 32bit salt installed on 64bit Windows 2008R2 or higher, it will launch a 32bit powershell window which will not be able to find the ServerManager module and will return the following to the master:
A check should be made in the virtual function to check for versions higher than 2008R2 and 64bitness.
The text was updated successfully, but these errors were encountered: