You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Versions of this cookbook >= 1.0 don't support Chef 11, which OpsWorks runs. You need to downgrade to the v0.3.x branches...and bug your AWS TAM about supporting a modern version of Chef on OpsWorks. 😄
Opsworks now supports Chef 12 stacks for Linux. I have created a wrapper cookbook for a Chef 12 stack and it works great. But you must specify Chef 12 in your stacks config.
Hello,
I'm having this error running the default recipe on amazon AWS Opsworks.
Any idea to solve or fix it?
Thank you very much
Recipe Compile Error in /var/lib/aws/opsworks/cache.stage2/cookbooks/elasticsearch/libraries/provider_configure.rb
NoMethodError
undefined method `provides' for ElasticsearchCookbook::ConfigureProvider:Class
Cookbook Trace:
/var/lib/aws/opsworks/cache.stage2/cookbooks/elasticsearch/libraries/provider_configure.rb:5:in
<class:ConfigureProvider>' /var/lib/aws/opsworks/cache.stage2/cookbooks/elasticsearch/libraries/provider_configure.rb:2:in
<top (required)>'Relevant File Content:
/var/lib/aws/opsworks/cache.stage2/cookbooks/elasticsearch/libraries/provider_configure.rb:
1: # Chef Provider for configuring an elasticsearch instance
2: class ElasticsearchCookbook::ConfigureProvider < Chef::Provider::LWRPBase
3: include ElasticsearchCookbook::Helpers
4:
5>> provides :elasticsearch_configure
6:
7: def whyrun_supported?
8: false
9: end
10:
11: action :manage do
12: # lookup existing ES resources
13: es_user = find_es_resource(run_context, :elasticsearch_user, new_resource)
14: es_install = find_es_resource(run_context, :elasticsearch_install, new_resource)
The text was updated successfully, but these errors were encountered: