chef / cookbook-omnifetch

Fetch Chef Cookbooks from Various Sources to a Local Cache
Apache License 2.0
6 stars 9 forks source link

Chef server cookbook artifacts #17

Closed danielsdeleo closed 6 years ago

danielsdeleo commented 6 years ago

Adds support for installing cookbooks from Chef Server's cookbook_artifacts/ API endpoint, which is where cookbooks are stored after running chef push.

This is unlikely to be of much direct use to end-users; it's added to support included policyfiles. In particular, if a policy and set of cookbooks are pushed to the server and that policy is subsequently included in another policy, in some cases it will not be possible to install the cookbooks from the original location (local path). In that case, the policy inclusion logic in ChefDK will need to be able to pull that cookbook from the Chef Server instead.