{"action":"opened","number":35,"pull_request":{"url":"https://api.github.com/repos/sensu/uchiwa-chef/pulls/35","id":34011858,"html_url":"https://github.com/sensu/uchiwa-chef/pull/35","diff_url":"https://github.com/sensu/uchiwa-chef/pull/35.diff","patch_url":"https://github.com/sensu/uchiwa-chef/pull/35.patch","issue_url":"https://api.github.com/repos/sensu/uchiwa-chef/issues/35","number":35,"state":"open","locked":false,"title":"this part of the config is now an array of hashes","user":{"login":"slyness","id":397085,"avatar_url":"https://avatars.githubusercontent.com/u/397085?v=3","gravatar_id":"","url":"https://api.github.com/users/slyness","html_url":"https://github.com/slyness","followers_url":"https://api.github.com/users/slyness/followers","following_url":"https://api.github.com/users/slyness/following{/other_user}","gists_url":"https://api.github.com/users/slyness/gists{/gist_id}","starred_url":"https://api.github.com/users/slyness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slyness/subscriptions","organizations_url":"https://api.github.com/users/slyness/orgs","repos_url":"https://api.github.com/users/slyness/repos","events_url":"https://api.github.com/users/slyness/events{/privacy}","received_events_url":"https://api.github.com/users/slyness/received_events","type":"User","site_admin":false},"body":"Cookbook was creating invalid uchiwa config file.. \r\n\r\npreviously creating\r\n```\r\n{\r\n  \"uchiwa\": {\r\n    \"user\": \"admin\",\r\n    \"pass\": \"supersecret\",\r\n    \"refresh\": 5,\r\n    \"host\": \"0.0.0.0\",\r\n    \"port\": 3000\r\n  },\r\n  \"sensu\":  {\r\n      \"name\": \"Sensu\",\r\n      \"host\": \"localhost\",\r\n      \"url\": \"http://localhost:4567\"\r\n    }\r\n}\r\n```\r\n\r\nHowever, as the documentation states the \"sensu\" section should now be an array of hashes.\r\n\r\n```\r\n{\r\n  \"uchiwa\": {\r\n    \"user\": \"admin\",\r\n    \"pass\": \"supersecret\",\r\n    \"refresh\": 5,\r\n    \"host\": \"0.0.0.0\",\r\n    \"port\": 3000\r\n  },\r\n  \"sensu\": [\r\n    {\r\n      \"name\": \"Sensu\",\r\n      \"host\": \"localhost\",\r\n      \"url\": \"http://localhost:4567\"\r\n    }\r\n  ]\r\n}\r\n```\r\n\r\nhttp://docs.uchiwa.io/en/latest/configuration/examples/#complete-configuration","created_at":"2015-04-24T01:23:03Z","updated_at":"2015-04-24T01:23:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sensu/uchiwa-chef/pulls/35/commits","review_comments_url":"https://api.github.com/repos/sensu/uchiwa-chef/pulls/35/comments","review_comment_url":"https://api.github.com/repos/sensu/uchiwa-chef/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sensu/uchiwa-chef/issues/35/comments","statuses_url":"https://api.github.com/repos/sensu/uchiwa-chef/statuses/c761c9621e5c39343409d0047a15efb2c44de146","head":{"label":"slyness:enhancement/config","ref":"enhancement/config","sha":"c761c9621e5c39343409d0047a15efb2c44de146","user":{"login":"slyness","id":397085,"avatar_url":"https://avatars.githubusercontent.com/u/397085?v=3","gravatar_id":"","url":"https://api.github.com/users/slyness","html_url":"https://github.com/slyness","followers_url":"https://api.github.com/users/slyness/followers","following_url":"https://api.github.com/users/slyness/following{/other_user}","gists_url":"https://api.github.com/users/slyness/gists{/gist_id}","starred_url":"https://api.github.com/users/slyness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slyness/subscriptions","organizations_url":"https://api.github.com/users/slyness/orgs","repos_url":"https://api.github.com/users/slyness/repos","events_url":"https://api.github.com/users/slyness/events{/privacy}","received_events_url":"https://api.github.com/users/slyness/received_events","type":"User","site_admin":false},"repo":{"id":28252679,"name":"uchiwa-chef","full_name":"slyness/uchiwa-chef","owner":{"login":"slyness","id":397085,"avatar_url":"https://avatars.githubusercontent.com/u/397085?v=3","gravatar_id":"","url":"https://api.github.com/users/slyness","html_url":"https://github.com/slyness","followers_url":"https://api.github.com/users/slyness/followers","following_url":"https://api.github.com/users/slyness/following{/other_user}","gists_url":"https://api.github.com/users/slyness/gists{/gist_id}","starred_url":"https://api.github.com/users/slyness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slyness/subscriptions","organizations_url":"https://api.github.com/users/slyness/orgs","repos_url":"https://api.github.com/users/slyness/repos","events_url":"https://api.github.com/users/slyness/events{/privacy}","received_events_url":"https://api.github.com/users/slyness/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/slyness/uchiwa-chef","description":"","fork":true,"url":"https://api.github.com/repos/slyness/uchiwa-chef","forks_url":"https://api.github.com/repos/slyness/uchiwa-chef/forks","keys_url":"https://api.github.com/repos/slyness/uchiwa-chef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slyness/uchiwa-chef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slyness/uchiwa-chef/teams","hooks_url":"https://api.github.com/repos/slyness/uchiwa-chef/hooks","issue_events_url":"https://api.github.com/repos/slyness/uchiwa-chef/issues/events{/number}","events_url":"https://api.github.com/repos/slyness/uchiwa-chef/events","assignees_url":"https://api.github.com/repos/slyness/uchiwa-chef/assignees{/user}","branches_url":"https://api.github.com/repos/slyness/uchiwa-chef/branches{/branch}","tags_url":"https://api.github.com/repos/slyness/uchiwa-chef/tags","blobs_url":"https://api.github.com/repos/slyness/uchiwa-chef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slyness/uchiwa-chef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slyness/uchiwa-chef/git/refs{/sha}","trees_url":"https://api.github.com/repos/slyness/uchiwa-chef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slyness/uchiwa-chef/statuses/{sha}","languages_url":"https://api.github.com/repos/slyness/uchiwa-chef/languages","stargazers_url":"https://api.github.com/repos/slyness/uchiwa-chef/stargazers","contributors_url":"https://api.github.com/repos/slyness/uchiwa-chef/contributors","subscribers_url":"https://api.github.com/repos/slyness/uchiwa-chef/subscribers","subscription_url":"https://api.github.com/repos/slyness/uchiwa-chef/subscription","commits_url":"https://api.github.com/repos/slyness/uchiwa-chef/commits{/sha}","git_commits_url":"https://api.github.com/repos/slyness/uchiwa-chef/git/commits{/sha}","comments_url":"https://api.github.com/repos/slyness/uchiwa-chef/comments{/number}","issue_comment_url":"https://api.github.com/repos/slyness/uchiwa-chef/issues/comments{/number}","contents_url":"https://api.github.com/repos/slyness/uchiwa-chef/contents/{+path}","compare_url":"https://api.github.com/repos/slyness/uchiwa-chef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slyness/uchiwa-chef/merges","archive_url":"https://api.github.com/repos/slyness/uchiwa-chef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slyness/uchiwa-chef/downloads","issues_url":"https://api.github.com/repos/slyness/uchiwa-chef/issues{/number}","pulls_url":"https://api.github.com/repos/slyness/uchiwa-chef/pulls{/number}","milestones_url":"https://api.github.com/repos/slyness/uchiwa-chef/milestones{/number}","notifications_url":"https://api.github.com/repos/slyness/uchiwa-chef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slyness/uchiwa-chef/labels{/name}","releases_url":"https://api.github.com/repos/slyness/uchiwa-chef/releases{/id}","created_at":"2014-12-20T01:14:06Z","updated_at":"2015-04-23T22:38:59Z","pushed_at":"2015-04-24T01:16:28Z","git_url":"git://github.com/slyness/uchiwa-chef.git","ssh_url":"git@github.com:slyness/uchiwa-chef.git","clone_url":"https://github.com/slyness/uchiwa-chef.git","svn_url":"https://github.com/slyness/uchiwa-chef","homepage":null,"size":148,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sensu:master","ref":"master","sha":"11d7b1524776af25e2a1b331a2891c53dafc82cb","user":{"login":"sensu","id":1648901,"avatar_url":"https://avatars.githubusercontent.com/u/1648901?v=3","gravatar_id":"","url":"https://api.github.com/users/sensu","html_url":"https://github.com/sensu","followers_url":"https://api.github.com/users/sensu/followers","following_url":"https://api.github.com/users/sensu/following{/other_user}","gists_url":"https://api.github.com/users/sensu/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu/subscriptions","organizations_url":"https://api.github.com/users/sensu/orgs","repos_url":"https://api.github.com/users/sensu/repos","events_url":"https://api.github.com/users/sensu/events{/privacy}","received_events_url":"https://api.github.com/users/sensu/received_events","type":"Organization","site_admin":false},"repo":{"id":22649704,"name":"uchiwa-chef","full_name":"sensu/uchiwa-chef","owner":{"login":"sensu","id":1648901,"avatar_url":"https://avatars.githubusercontent.com/u/1648901?v=3","gravatar_id":"","url":"https://api.github.com/users/sensu","html_url":"https://github.com/sensu","followers_url":"https://api.github.com/users/sensu/followers","following_url":"https://api.github.com/users/sensu/following{/other_user}","gists_url":"https://api.github.com/users/sensu/gists{/gist_id}","starred_url":"https://api.github.com/users/sensu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sensu/subscriptions","organizations_url":"https://api.github.com/users/sensu/orgs","repos_url":"https://api.github.com/users/sensu/repos","events_url":"https://api.github.com/users/sensu/events{/privacy}","received_events_url":"https://api.github.com/users/sensu/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sensu/uchiwa-chef","description":"","fork":false,"url":"https://api.github.com/repos/sensu/uchiwa-chef","forks_url":"https://api.github.com/repos/sensu/uchiwa-chef/forks","keys_url":"https://api.github.com/repos/sensu/uchiwa-chef/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sensu/uchiwa-chef/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sensu/uchiwa-chef/teams","hooks_url":"https://api.github.com/repos/sensu/uchiwa-chef/hooks","issue_events_url":"https://api.github.com/repos/sensu/uchiwa-chef/issues/events{/number}","events_url":"https://api.github.com/repos/sensu/uchiwa-chef/events","assignees_url":"https://api.github.com/repos/sensu/uchiwa-chef/assignees{/user}","branches_url":"https://api.github.com/repos/sensu/uchiwa-chef/branches{/branch}","tags_url":"https://api.github.com/repos/sensu/uchiwa-chef/tags","blobs_url":"https://api.github.com/repos/sensu/uchiwa-chef/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sensu/uchiwa-chef/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sensu/uchiwa-chef/git/refs{/sha}","trees_url":"https://api.github.com/repos/sensu/uchiwa-chef/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sensu/uchiwa-chef/statuses/{sha}","languages_url":"https://api.github.com/repos/sensu/uchiwa-chef/languages","stargazers_url":"https://api.github.com/repos/sensu/uchiwa-chef/stargazers","contributors_url":"https://api.github.com/repos/sensu/uchiwa-chef/contributors","subscribers_url":"https://api.github.com/repos/sensu/uchiwa-chef/subscribers","subscription_url":"https://api.github.com/repos/sensu/uchiwa-chef/subscription","commits_url":"https://api.github.com/repos/sensu/uchiwa-chef/commits{/sha}","git_commits_url":"https://api.github.com/repos/sensu/uchiwa-chef/git/commits{/sha}","comments_url":"https://api.github.com/repos/sensu/uchiwa-chef/comments{/number}","issue_comment_url":"https://api.github.com/repos/sensu/uchiwa-chef/issues/comments{/number}","contents_url":"https://api.github.com/repos/sensu/uchiwa-chef/contents/{+path}","compare_url":"https://api.github.com/repos/sensu/uchiwa-chef/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sensu/uchiwa-chef/merges","archive_url":"https://api.github.com/repos/sensu/uchiwa-chef/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sensu/uchiwa-chef/downloads","issues_url":"https://api.github.com/repos/sensu/uchiwa-chef/issues{/number}","pulls_url":"https://api.github.com/repos/sensu/uchiwa-chef/pulls{/number}","milestones_url":"https://api.github.com/repos/sensu/uchiwa-chef/milestones{/number}","notifications_url":"https://api.github.com/repos/sensu/uchiwa-chef/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sensu/uchiwa-chef/labels{/name}","releases_url":"https://api.github.com/repos/sensu/uchiwa-chef/releases{/id}","created_at":"2014-08-05T15:58:10Z","updated_at":"2015-03-20T05:15:17Z","pushed_at":"2015-04-17T11:59:38Z","git_url":"git://github.com/sensu/uchiwa-chef.git","ssh_url":"git@github.com:sensu/uchiwa-chef.git","clone_url":"https://github.com/sensu/uchiwa-chef.git","svn_url":"https://github.com/sensu/uchiwa-chef","homepage":null,"size":560,"stargazers_count":19,"watchers_count":19,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":5,"forks":26,"open_issues":5,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sensu/uchiwa-chef/pulls/35"},"html":{"href":"https://github.com/sensu/uchiwa-chef/pull/35"},"issue":{"href":"https://api.github.com/repos/sensu/uchiwa-chef/issues/35"},"comments":{"href":"https://api.github.com/repos/sensu/uchiwa-chef/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/sensu/uchiwa-chef/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/sensu/uchiwa-chef/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sensu/uchiwa-chef/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/sensu/uchiwa-chef/statuses/c761c9621e5c39343409d0047a15efb2c44de146"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}