如何在开发人员工作流程中更新厨师食谱 [英] How to update chef cookbooks in a developer workflow

查看:49
本文介绍了如何在开发人员工作流程中更新厨师食谱的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在管理厨师服务器,并且想提取最新的食谱(如果已更改或添加了新食谱)。这样,我就可以开发最新的更改,并确保我不使用过时的数据。我认为这与git工作流程类似,在该工作流程中,我会提取最新的并进行合并(如有必要)。

I'm managing a chef server and I want to pull the latest cookbooks (if they have been changed, or new ones added). This is so that I can develop on the newest changes, and be sure I'm not working with stale data. I would assume it would be similar to git workflow where I pull the latest and merge if necessary.

我知道我可以发布刀下载/,但这似乎代价很高

I know I can issue a "knife download /" but this seems costly and time-consuming, to download the entire repo each time.

奇怪的是-我还找不到任何文章或文档来建议这样做。这让我觉得,可能是我的工作流程不正确,或者我错过了更大的一块。

Oddly enough - I haven't been able to find any articles or documentation that suggest how to do this. Which makes me think, possibly my workflow is not correct or I am missing a larger piece.

是否有更好的方法来更新我的仓库,并快速高效地投入工作开发人员的工作流程?

Is there a better way to update my repo, and get into quick, efficient developer workflow?

推荐答案

Cookbook和节点和客户端以外的所有Chef数据通常都保存在git中。 Chef Server处理这些数据的发布,但不处理开发。

Cookbooks, and all Chef data other than nodes and clients, is generally kept in git. Chef Server handles releases of that data, but not development.

这篇关于如何在开发人员工作流程中更新厨师食谱的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆