Undefined method `url' for []:Array


i am trying to install the chef server reporting service:
running the below command :
sudo chef-server-ctl install opscode-reporting

but i am getting an error


undefined method `url’ for []:Array


I am wondering. if the yum cookbook is being used here?
I know there are issues with 12.14.x and the yum cookbook showing that exact error.
It is now supposed to be baseurl instead of url.

You can use chef 12.12.15 to use url or use baseurl instead of url.

I hope this helps.