Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
Windows
-
1
-
Windows 2018-04-25
-
Needs Assessment
-
Needs Priority
-
Needs Assessment
Description
Basic Info
Module Version: 2.1.4
Puppet Version: 207.3.2 ( 5.3.3)
OS Name/Version: windows server 2008 r2, powershell 2.0
When using powershell 2.0 without .net 3.5 installed, instead 4.x only is present, an error message is displayed on each puppet run (full message appended to the bottom of the form) the message indicates that .net 3.5 or greater should be installed.
The issue appears to originate in the code below, where it assumes 3.5 is present if .net 4 is installed
Desired Behavior:
A check for any compatible .net Version
Actual Behavior:
Assumes .NET >3..4 is not present if 3.5 is not present
error message:
Currently, the PowerShell module has reduced v1 functionality on this agent due to one or more of the following conditions: - Puppet 3.x (non-x64 version) Puppet 3.x uses a Ruby version that requires a library to support a colored console. Unfortunately this library prevents the PowerShell module from using a shared PowerShell process to dramatically improve the performance of resource application. - PowerShell v2 with .NET Framework 2.0 PowerShell v2 works with both .NET Framework 2.0 and .NET Framework 3.5. To be able to use the enhancements, we require at least .NET Framework 3.5. Typically you will only see this on a base Windows Server 2008 (and R2) install. To enable these improvements, it is suggested to upgrade to any x64 version of Puppet (including 3.x), or to a Puppet version newer than 3.x and ensure you have at least .NET Framework 3.5 installed.