tacitknowledge / aem-cookbook

Chef cookbook for Adobe AEM
79 stars 64 forks source link

No resource or method named `aem_jar_installer' for `Chef::Recipe "author" #5

Closed timdonovanuk closed 9 years ago

timdonovanuk commented 10 years ago

NoMethodError

No resource or method named aem_jar_installer' forChef::Recipe "author"'

Cookbook Trace:

/var/chef/site-cookbooks/aem-cookbook-master/recipes/author.rb:22:in `from_file'

Relevant File Content:

/var/chef/site-cookbooks/aem-cookbook-master/recipes/author.rb:

15: # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16: # See the License for the specific language governing permissions and 17: # limitations under the License. 18: 19: include_recipe "aem::_base_aem_setup" 20: 21: unless node[:aem][:use_yum] 22>> aem_jar_installer "author" do 23: download_url node[:aem][:download_url] 24: default_context node[:aem][:author][:default_context] 25: port node[:aem][:author][:port] 26: action :install 27: end 28: end 29: 30: unless node[:aem][:license_url].nil? 31: remote_file "#{node[:aem][:author][:default_context]}/license.properties" do

Running handlers: [2014-07-14T10:31:17+01:00] ERROR: Running exception handlers Running handlers complete

[2014-07-14T10:31:17+01:00] ERROR: Exception handlers complete [2014-07-14T10:31:17+01:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out Chef Client failed. 0 resources updated in 1.906949103 seconds [2014-07-14T10:31:17+01:00] ERROR: No resource or method named aem_jar_installer' forChef::Recipe "author"' [2014-07-14T10:31:17+01:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

bignastybryce commented 10 years ago

Hi timdonovanuk,

Thanks for posting this issue. Can you give us some more details around how you produced this? Our test-kitchen tests still pass for standing up an author.

I suspect that this bug is causing the error to be wrongly reported: https://tickets.opscode.com/browse/CHEF-5011.

Thanks,

-Bryce.

pdunnavant commented 10 years ago

@timdonovanuk Are you still seeing this issue and/or do you have any more details around how you got this?

pdunnavant commented 9 years ago

I'm going to go ahead and close this issue. If you are still having issues, we can reopen. Thanks!

pravrawa commented 7 years ago

@Paul , I am still facing this issue. https://github.com/tacitknowledge/aem-cookbook/issues/61