我已经使用应用程序食谱来部署和安装我的Java应用程序。我亲自试过了。
application "saymetrix" do
path "/usr/local"
owner "chef"
group "chef"
end
对于上面的代码,我得到了以下错误。
Error executing action `deploy` on resource 'application[saymetrix]'
================================================================================
NameError
---------
Cannot find a resource for saymetrix on ubuntu version 12.04
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/application/providers/default.rb:82:in `before_deploy'
/var/chef/cache/cookbooks/application/providers/default.rb:27:in `block in class_from_file'
我不明白如何解决这个问题?