厨师:直接在服务器上的私人超市食谱 [英] Chef: private supermarket cookbook directly on server
问题描述
我有一本可以在私人厨师超市中使用的食谱,并且我有4位厨师服务器需要该食谱,以便相应的节点可以使用它。
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.
我们可以多次使用 Berks安装
和 berks上传
来实现此目的。有没有更简单的方法?
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?
推荐答案
如果您有4个不同厨师服务器,那么我认为您正在使用与厨师服务器进行交互时使用4个不同键进行身份验证。这表示您有 4个不同配置,
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.
这篇关于厨师:直接在服务器上的私人超市食谱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!