lusis / chef-logstash

Semi-official Logstash cookbook
Other
271 stars 353 forks source link

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

Closed tt-sergey closed 6 years ago

tt-sergey commented 7 years ago

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' forChef::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