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
The first line returns nil, not an empty hash if there is no configuration for the current environment in the data bag; as a result, the 2nd line fails with
NoMethodError: undefinedmethod`[]' for nil:NilClass/var/cache/chef/cookbooks/elasticsearch/attributes/data.rb:100:in `from_file'
The text was updated successfully, but these errors were encountered:
Hello! We've re-written the cookbook using libraries that expose resources and providers, so you shouldn't see this problem on the newer version; it should also be much easier to customize. Hope this helps!
Unless I am missing something obvious:
in
attributes/data.rb
:The first line returns
nil
, not an empty hash if there is no configuration for the current environment in the data bag; as a result, the 2nd line fails withThe text was updated successfully, but these errors were encountered: