Chef infra 如何使用应用程序cookbook定义前符号链接回调?

Chef infra 如何使用应用程序cookbook定义前符号链接回调?,chef-infra,Chef Infra,我正在开发一本食谱来部署一个简单的基于jekyll的博客。我使用“应用程序”食谱作为基础。除了chef简单地忽略我定义的回调之外,一切都很顺利 Chef日志包含有关回调的条目,但我并没有看到回调执行的错误或结果 以下是recipes/default.rb文件: 包含配方“git” 应用程序“示例com”do 路径“/var/www/example.com” 存储库“git@example.org:xxx/xxx.git“ 修订版“母版” deploy_keyOpscode刚刚确认这是Chef中的

我正在开发一本食谱来部署一个简单的基于jekyll的博客。我使用“应用程序”食谱作为基础。除了chef简单地忽略我定义的回调之外,一切都很顺利

Chef日志包含有关回调的条目,但我并没有看到回调执行的错误或结果

以下是recipes/default.rb文件:

包含配方“git”
应用程序“示例com”do
路径“/var/www/example.com”
存储库“git@example.org:xxx/xxx.git“
修订版“母版”

deploy_keyOpscode刚刚确认这是Chef中的一个bug。如果有人需要修复的更多详细信息和状态,请使用以下链接:

[2012-10-06T10:06:20-04:00] INFO: Processing ruby_block[example_com before_deploy] action create (/var/cache/chef/cookbooks/application/providers/default.rb line 107)
[2012-10-06T10:06:20-04:00] DEBUG: Got callback before_deploy: #<Proc:0x00007f0509788088@/var/cache/chef/cookbooks/example_com/recipes/default.rb:24>
[2012-10-06T10:06:20-04:00] INFO: application[example_com] running callback before_deploy
[2012-10-06T10:06:20-04:00] INFO: ruby_block[example_com before_deploy] called
[2012-10-06T10:06:20-04:00] INFO: Processing deploy_revision[example_com] action deploy (/var/cache/chef/cookbooks/application/providers/default.rb line 122)