sous-chefs / powershell

Development repository for the powershell cookbook
https://supermarket.chef.io/cookbooks/powershell
Apache License 2.0
110 stars 88 forks source link

Powershell5 fix for windows server 2016+ #142

Closed Stromweld closed 3 years ago

Stromweld commented 3 years ago

Description

Fixes compile error on windows server 2016+ caused by the switch from if ::Windows::VersionHelper.nt_version(node) > 6.1 to if node['platform_version'].to_f > 6.1 making the powershell5 recipe try to load resource with undefined attribute that is required but set to nil on platform_version 10.0+ machines.

Check List

kitchen-porter commented 3 years ago

Released as: 6.2.1