Hi All.
I am experiencing a weird issue with Chef at the moment and was wondering if anyone has possibly had this same problem before?
I am trying to deploy a cookbook using test kitchen and Hyper-V.
Using kitchen create works as expected and spins up my new VM (Windows Server 2012 R2).
I then execute kitchen converge and this ends up failing with an error: “Error Resolving Cookbooks for Run List”.
Also get messages: “No such cookbook: wbx_server” and “* wbx_server::default”
After tons of investigation, I have found that the cookbooks are not being extracted on the newly created VM in the %TEMP%/kitchen folder and hence the error above.
I am executing my kitchen commands from a Windows Server 2016 machine running Hyper-V.
Version info (chef --version):
- Chef Development Kit Version: 2.1.11
- chef-client version: 13.2.20
- delivery version: master (73ebb72a6c42b3d2ff5370c476be800fee7e5427)
- berks version: 6.3.0
- kitchen version: 1.17.0
- inspec version: 1.33.1
Does anyone have an idea how to fix this issue?
I will gladly provide more details and related Chef files if required.
Thanks.