Chef: private supermarket cookbook directly on server

十年热恋 提交于 2019-12-25 01:43:34

问题


I have a cookbook which is available on a private chef supermarket and I have 4 chef servers which need this cookbook to be available so that corresponding nodes can consume it.

We can use berks install and berks upload multiple times to achieve this. Is there a simpler way to do this?

If it is not possible, why does chef not allow this?


回答1:


if you have 4 different chef servers, then i assume that you are using 4 different keys for authentication when you interact with the chef server. this implies that you have 4 different configurations which is used in the process.

there is no tool which i know of that for each configuration it uploads the cookbook to chef server.

so for your question, you should upload your cookbook to each chef server individually.



来源:https://stackoverflow.com/questions/56113478/chef-private-supermarket-cookbook-directly-on-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!