apvlva
Last Updated: February 25, 2016
·
1.956K
· pierre-o
Myself

Chef 11 - NoMethodError: undefined method ?

If you have this error with one of your cookbook in chef 11 :

FATAL: NoMethodError: undefined method []' for nil:NilClass

Try to add depend 'cookbook_name' in the cookbook calling the one failing.

Check the bug here if you need.
http://tickets.opscode.com/browse/CHEF-3893

Say Thanks
Respond