我已经在使用应用程序说明书来部署和安装我的 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'
我不明白如何解决这个问题?