看看带厨师的Git存储库?

Vic*_*box 18 git version-control github chef-infra

我有一个Git存储库,我想检查到服务器上.有没有一个厨师配方呢?

Mar*_*ise 41

git SCM资源可能就是你要找的东西.简单的资源使用示例:

git "/path/to/check/out/to" do
  repository "git://github.com/opscode/chef.git"
  reference "master"
  action :sync
end
Run Code Online (Sandbox Code Playgroud)

如果要获取特定分支,请参阅"revision"属性.

  • 一个专门描述`git`资源的链接:[http://docs.opscode.com/resource_git.html](http://docs.opscode.com/resource_git.html) (5认同)