You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PowerShell Cookbook v5.2.0
Chef Development Kit Version: 1.2.22
chef-client version: 12.18.31
Microsoft Windows [Version 10.0.14393]
Scenario:
Kitchen converge fails with the following error when running PowerShell5 recipe with Windows cookbook 3.0.0:
[2017-03-15T18:54:32-07:00] WARN: PowerShell 2.0 is not supported or already installed on this version of Windows: 6.1.7601
================================================================================
Recipe Compile Error in C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/acme_win_web/recipes/default.rb
================================================================================
NoMethodError
————-
undefined method `success_codes’ for Chef::Resource::WindowsPackage
Platform:
———
x64-mingw32
I was able to workaround this error by constraining the Windows cookbook to < 3.0.0
Version Info
PowerShell Cookbook v5.2.0
Chef Development Kit Version: 1.2.22
chef-client version: 12.18.31
Microsoft Windows [Version 10.0.14393]
Scenario:
Kitchen converge fails with the following error when running PowerShell5 recipe with Windows cookbook 3.0.0:
I was able to workaround this error by constraining the Windows cookbook to < 3.0.0
http://www.dotnetcatch.com/2017/03/16/chef-tip-constrain-dependent-cookbook-versions/
The text was updated successfully, but these errors were encountered: