sensu / uchiwa-chef

Other
33 stars 40 forks source link

add empty strings for path and port in default API endpoint config #3

Closed aaduffy closed 10 years ago

aaduffy commented 10 years ago

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

aaduffy commented 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.

Afterglow commented 10 years ago

:+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