I run the following resource to ensure PowerShell 5 is installed for Windows Server 2012r2 servers with Chef-Client 14.1.12. :
msu_package 'Install PowerShell 5' do
source 'http://download.windowsupdate.com/d/msdownload/update/software/updt/2017/03/windowsblue-kb3191564-x64_91d95a0ca035587d4c1babe491f51e06a1529843.msu'
action :install
end
This resource runs fine on hundreds of servers in my environment. However starting this morning, 1 of those servers is experiencing this error when trying to run this resource:
Chef::Exceptions::Package
Found multiple packages installed matching name Microsoft-Windows-WinMan-WinIP-Package-TopLevel, found: 2 matches
I'm struggling to understand and diagnose the condition of how msu_package handles finding multiple packages within the MSU/CAB file it downloads to then understand why it would fail and how to remediate this.
Any suggestions would be appreciated.
Thanks