I tried to install SP1 on Win 2008 R2 using knife winrm -m ip chef-client -x Administrator -P pw to run the following:
windows_package ‘Service Pack for Microsoft Windows (KB976932)’ do
source …windows6.1-KB976932-X64.exe
installer_type :custom
options '/quiet /nodialog /forcerestart’
timeout 14400
end
I also tried the following:
windows_package ‘Service Pack for Microsoft Windows (KB976932)’ do
source …windows6.1-KB976932-X64.exe
installer_type :custom
options '/quiet /nodialog /norestart’
timeout 14400
end
In both cases, the screen just shows the following after running more than 12 hours overnight:
… INFO: Starting installation…this could take a while
Seems like service pack has been installed but Chef client is waiting on something to complete? Can windows_packge be used to install service packs? My chef-client is 11.16.2.