I am getting this on chef-client of a node:
FATAL: NoMethodError: undefined method `[]’ for nil:NilClass.
with this pointed out in relevant file content:
variables :vhost => node[:rabbitmq][:queue_name]
Any thoughts on what it means and how to approach it?
It means that node.rabbitmq isn’t set. Can you include more information like the entire chef-client error output? I’m guessing you don’t have the rabbitmq cookbook in this node’s runlist.
On Friday, August 8, 2014 at 10:51 AM, Stuart Cracraft wrote:
I am getting this on chef-client of a node:
FATAL: NoMethodError: undefined method `' for nil:NilClass.
with this pointed out in relevant file content:
variables :vhost => node[:rabbitmq][:queue_name]
Any thoughts on what it means and how to approach it?