The runlist is empty when multiple roles or recipes to my node. I've tried below things so far -
-
Added a role with multiple recipes/role JServerBTool.rb -
name "JServerBTool"
description "Combined role for JServer and BTool features"
run_list "role[JServer]","role[BTool]" -
Added multiple roles in first-boot.json -
{
"run_list": [
"role[JServer]",
"role[BTool]"
],
"chef_environment": "qa"
} -
Tried including the recipe directly like -
include_recipe 'JServer::default'
But everytime it fails with "WARN: Node nodename has an empty run list."
I've spent weeks now trying to fix this but not luck. I relatively new to chef. Any help is highly appreciated.
Thanks,
Altaf B.