RE: https://docs.chef.io/knife_deps.html
With the knife deps --remote option, I can query our chef server. knife cookbook list -a will return all the cookbook versions. How can I use knife deps to query the dependencies of a particular version of a cookbook? I tried all sorts of delimiters to append the version number to the cookbook name and I have tried them as separate arguments. Tried to dig into the ruby code and found that is difficult to do - the purpose and organization of all those gems is very unclear.
Is it a must to use "knife deps"? because you can achieve your goal by using the "knife search" command, like so:
This will give you output that shows the hostname and the cookbook version:
Another thing you can do is to use a base cookbook and set an attribute on the node with the cookbook versions.
Example:
Then you can query the versions used by a node like so:
No answer currently exists. Trying to take my bounty back!