分享 Getting Started Writing Chef Cookbooks the Berkshelf Way (见过写的最好的技术博文)

williamherry · December 01, 2013 · 4227 hits

写的非常好的文章,讲了如何以 Berkshelf 和方式开发 Cookbook, 后面还讲到了用 test-kitchen 来帮助写出适用于多平台的 Cookbook.推荐对 Chef 有兴趣的看一看

http://misheska.com/blog/2013/06/16/getting-started-writing-chef-cookbooks-the-berkshelf-way/ http://misheska.com/blog/2013/06/23/getting-started-writing-chef-cookbooks-the-berkshelf-way-part2/ http://misheska.com/blog/2013/08/06/getting-started-writing-chef-cookbooks-the-berkshelf-way-part3/

我的感觉是 Berkshelf 完全颠覆了原来以 role/data bag/node attribute 组织和定制 Cookbook 的方式,它所使用的方式是用一个类似 Wrapper 的 Cookbook,或者叫收 App Cookbook,一个应用 (如上面例子里的 myface) 只有一个这样的 cookbook,在这个里面组织或定制其它的 Cookbook, 刚看了一点不知道理解的对不对

还可以看看这个视频

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.