Hi
I’m trying to use chef_nginx cookbook from the Supermarket, but it fails with this error:
~/ sudo /usr/bin/chef-client -j /opt/nginx-rp-kitchen/nodes/vorlage.standard.json -c /opt/nginx-rp-kitchen/client.rb
Starting Chef Client, version 12.19.36
resolving cookbooks for run list: ["ew-nginx-rp"]
================================================================================
Error Resolving Cookbooks for Run List:
================================================================================
Missing Cookbooks:
------------------
Could not satisfy version constraints for: windows
Expanded Run List:
------------------
* ew-nginx-rp
Platform:
---------
x86_64-linux
Running handlers:
Running handlers complete
Chef Client failed. 0 resources updated in 05 seconds
This is on a Ubuntu 16.04 system with Chef 12.19.36 from chef.io. We’re using Chef Zero (local mode) without Berks or such. So I copied all the cookbooks that are required (because of dependencies) to the system and ran /usr/bin/chef-client -j /opt/nginx-rp-kitchen/nodes/vorlage.standard.json -c /opt/nginx-rp-kitchen/client.rb
. You can find these files at https://gist.github.com/alexs77/4eeba53c2340fba88e4b37c40c6aa1b1.
Why does it try to do something with “windows” (and also mingw) on a Ubuntu system?
Thanks,
Alexander