0
無法解決這個錯誤時,狀態NoMethodErrorNoMethodError無法解決
Recipe Compile Error in /var/chef/cache/cookbooks/jbosseap/recipes/default.rb
NoMethodError
-------------
No resource or method named jboss for `Chef::Recipe "default_deploy_list"'
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/jbosseap/recipes/default_deploy_list.rb:1:in from_file
/var/chef/cache/cookbooks/jbosseap/recipes/default.rb:15:in from_file
> Relevant File Content:
>/var/chef/cache/cookbooks/jbosseap/recipes/default_deploy_list.rb:
> 1 jboss 'testweb' do
> 2: source "https://s3-us-west-2.amazonaws.com/chef.repos/testweb.zip"
>3: action :deploy
>4: end
我應該怎麼辦?
爲了使這更清晰,'jboss'是配方的像'template'或'package'類型和錯誤是一個有點迂迴的方式對廚師說沒有這樣的資源類型存在。 – coderanger 2014-12-08 05:13:35