Last Updated: February 25, 2016
·
2.357K
· pierre-o

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