Closed aaduffy closed 10 years ago
Note: my commit documentation is inaccurate. An empty string is used for 'path'. For 'port' my commit uses 4567, which is the default port number used by sensu-chef for the API endpoint.
:+1: was about to send the same PR out the box the cookbook doesn't work because the URLs are invalid and all you get is a 400 error from the API
This fixes issue #2 by supplying default values to port and path for API configuration. Without these values the default config causes Uchiwa to generate bad URLs