Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Recipe fails with No resource or method named `logstash_instance' error #463

Closed
tt-sergey opened this issue Nov 4, 2016 · 0 comments
Closed

Comments

@tt-sergey
Copy link

Currently I use '0.9.1' version of cookbook and it works.

Trying to migrate to '0.12.2' recipe fails with error:

================================================================================
Recipe Compile Error in /var/chef/cache/cookbooks/logstash5/recipes/server.rb

NoMethodError

No resource or method named logstash_instance' for Chef::Recipe "server"'

Cookbook Trace:

/var/chef/cache/cookbooks/logstash5/recipes/server.rb:17:in `from_file'

Relevant File Content:

/var/chef/cache/cookbooks/logstash5/recipes/server.rb:

10: #
11: #
12:
13: # install logstash 'server'
14:
15: name = 'server'
16:
17>> logstash_instance name do
18: action :create
19: end
20:
21: logstash_service name do
22: action [:enable]
23: end
24:
25: logstash_config name do
26: action [:create]

Platform:

x86_64-linux

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant