{"action":"created","comment":{"url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/pulls/comments/37980160","id":37980160,"diff_hunk":"@@ -184,11 +189,24 @@\n end\n \n my_ip = node['ipaddress']\n-init_host = galera_config['init_node']\n+\n+if node[:galera_config][\"hostnames\"] then","path":"cookbooks/galera/recipes/server.rb","position":79,"original_position":79,"commit_id":"c5d566baa2652267ee556542e85a4d3f081e933c","original_commit_id":"c5d566baa2652267ee556542e85a4d3f081e933c","user":{"login":"had","id":111519,"avatar_url":"https://avatars.githubusercontent.com/u/111519?v=3","gravatar_id":"","url":"https://api.github.com/users/had","html_url":"https://github.com/had","followers_url":"https://api.github.com/users/had/followers","following_url":"https://api.github.com/users/had/following{/other_user}","gists_url":"https://api.github.com/users/had/gists{/gist_id}","starred_url":"https://api.github.com/users/had/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/had/subscriptions","organizations_url":"https://api.github.com/users/had/orgs","repos_url":"https://api.github.com/users/had/repos","events_url":"https://api.github.com/users/had/events{/privacy}","received_events_url":"https://api.github.com/users/had/received_events","type":"User","site_admin":false},"body":"\"hostnames\" for me means that it's an array or a map, please change for something like \"use_hostname\" or similar","created_at":"2015-08-26T13:24:08Z","updated_at":"2015-08-26T13:24:08Z","html_url":"https://github.com/criteo-forks/S9s_cookbooks/pull/1#discussion_r37980160","pull_request_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/pulls/comments/37980160"},"html":{"href":"https://github.com/criteo-forks/S9s_cookbooks/pull/1#discussion_r37980160"},"pull_request":{"href":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/pulls/1","id":38868657,"html_url":"https://github.com/criteo-forks/S9s_cookbooks/pull/1","diff_url":"https://github.com/criteo-forks/S9s_cookbooks/pull/1.diff","patch_url":"https://github.com/criteo-forks/S9s_cookbooks/pull/1.patch","issue_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/issues/1","number":1,"state":"open","locked":false,"title":"update default attributes and set up rrdns","user":{"login":"Yohan-Bismuth","id":6024581,"avatar_url":"https://avatars.githubusercontent.com/u/6024581?v=3","gravatar_id":"","url":"https://api.github.com/users/Yohan-Bismuth","html_url":"https://github.com/Yohan-Bismuth","followers_url":"https://api.github.com/users/Yohan-Bismuth/followers","following_url":"https://api.github.com/users/Yohan-Bismuth/following{/other_user}","gists_url":"https://api.github.com/users/Yohan-Bismuth/gists{/gist_id}","starred_url":"https://api.github.com/users/Yohan-Bismuth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yohan-Bismuth/subscriptions","organizations_url":"https://api.github.com/users/Yohan-Bismuth/orgs","repos_url":"https://api.github.com/users/Yohan-Bismuth/repos","events_url":"https://api.github.com/users/Yohan-Bismuth/events{/privacy}","received_events_url":"https://api.github.com/users/Yohan-Bismuth/received_events","type":"User","site_admin":false},"body":"replace databag system with attributes, add rrdns,\r\ninstall libaio and rsync libs\r\nset default passwords and hosts to nil\r\nresolv host with dns\r\nadd name in metadata","created_at":"2015-06-30T11:40:29Z","updated_at":"2015-08-26T13:24:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5e3c5540585605f6b9a61c44a4fd4f9bfd880a0e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/pulls/1/commits","review_comments_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/pulls/1/comments","review_comment_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/issues/1/comments","statuses_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/statuses/c5d566baa2652267ee556542e85a4d3f081e933c","head":{"label":"Yohan-Bismuth:master","ref":"master","sha":"c5d566baa2652267ee556542e85a4d3f081e933c","user":{"login":"Yohan-Bismuth","id":6024581,"avatar_url":"https://avatars.githubusercontent.com/u/6024581?v=3","gravatar_id":"","url":"https://api.github.com/users/Yohan-Bismuth","html_url":"https://github.com/Yohan-Bismuth","followers_url":"https://api.github.com/users/Yohan-Bismuth/followers","following_url":"https://api.github.com/users/Yohan-Bismuth/following{/other_user}","gists_url":"https://api.github.com/users/Yohan-Bismuth/gists{/gist_id}","starred_url":"https://api.github.com/users/Yohan-Bismuth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yohan-Bismuth/subscriptions","organizations_url":"https://api.github.com/users/Yohan-Bismuth/orgs","repos_url":"https://api.github.com/users/Yohan-Bismuth/repos","events_url":"https://api.github.com/users/Yohan-Bismuth/events{/privacy}","received_events_url":"https://api.github.com/users/Yohan-Bismuth/received_events","type":"User","site_admin":false},"repo":{"id":37854514,"name":"S9s_cookbooks","full_name":"Yohan-Bismuth/S9s_cookbooks","owner":{"login":"Yohan-Bismuth","id":6024581,"avatar_url":"https://avatars.githubusercontent.com/u/6024581?v=3","gravatar_id":"","url":"https://api.github.com/users/Yohan-Bismuth","html_url":"https://github.com/Yohan-Bismuth","followers_url":"https://api.github.com/users/Yohan-Bismuth/followers","following_url":"https://api.github.com/users/Yohan-Bismuth/following{/other_user}","gists_url":"https://api.github.com/users/Yohan-Bismuth/gists{/gist_id}","starred_url":"https://api.github.com/users/Yohan-Bismuth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yohan-Bismuth/subscriptions","organizations_url":"https://api.github.com/users/Yohan-Bismuth/orgs","repos_url":"https://api.github.com/users/Yohan-Bismuth/repos","events_url":"https://api.github.com/users/Yohan-Bismuth/events{/privacy}","received_events_url":"https://api.github.com/users/Yohan-Bismuth/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Yohan-Bismuth/S9s_cookbooks","description":"S9s Chef cookbooks","fork":true,"url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks","forks_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/forks","keys_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/teams","hooks_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/hooks","issue_events_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/issues/events{/number}","events_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/events","assignees_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/assignees{/user}","branches_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/branches{/branch}","tags_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/tags","blobs_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/statuses/{sha}","languages_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/languages","stargazers_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/stargazers","contributors_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/contributors","subscribers_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/subscribers","subscription_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/subscription","commits_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/contents/{+path}","compare_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/merges","archive_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/downloads","issues_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/issues{/number}","pulls_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/pulls{/number}","milestones_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/milestones{/number}","notifications_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/labels{/name}","releases_url":"https://api.github.com/repos/Yohan-Bismuth/S9s_cookbooks/releases{/id}","created_at":"2015-06-22T12:41:12Z","updated_at":"2015-06-22T12:41:13Z","pushed_at":"2015-08-19T16:20:44Z","git_url":"git://github.com/Yohan-Bismuth/S9s_cookbooks.git","ssh_url":"git@github.com:Yohan-Bismuth/S9s_cookbooks.git","clone_url":"https://github.com/Yohan-Bismuth/S9s_cookbooks.git","svn_url":"https://github.com/Yohan-Bismuth/S9s_cookbooks","homepage":"www.severalnines.com","size":265,"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":"criteo-forks:master","ref":"master","sha":"d1e5d5918969ca173237be82b5200c1e44ba8683","user":{"login":"criteo-forks","id":9960514,"avatar_url":"https://avatars.githubusercontent.com/u/9960514?v=3","gravatar_id":"","url":"https://api.github.com/users/criteo-forks","html_url":"https://github.com/criteo-forks","followers_url":"https://api.github.com/users/criteo-forks/followers","following_url":"https://api.github.com/users/criteo-forks/following{/other_user}","gists_url":"https://api.github.com/users/criteo-forks/gists{/gist_id}","starred_url":"https://api.github.com/users/criteo-forks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/criteo-forks/subscriptions","organizations_url":"https://api.github.com/users/criteo-forks/orgs","repos_url":"https://api.github.com/users/criteo-forks/repos","events_url":"https://api.github.com/users/criteo-forks/events{/privacy}","received_events_url":"https://api.github.com/users/criteo-forks/received_events","type":"Organization","site_admin":false},"repo":{"id":37605260,"name":"S9s_cookbooks","full_name":"criteo-forks/S9s_cookbooks","owner":{"login":"criteo-forks","id":9960514,"avatar_url":"https://avatars.githubusercontent.com/u/9960514?v=3","gravatar_id":"","url":"https://api.github.com/users/criteo-forks","html_url":"https://github.com/criteo-forks","followers_url":"https://api.github.com/users/criteo-forks/followers","following_url":"https://api.github.com/users/criteo-forks/following{/other_user}","gists_url":"https://api.github.com/users/criteo-forks/gists{/gist_id}","starred_url":"https://api.github.com/users/criteo-forks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/criteo-forks/subscriptions","organizations_url":"https://api.github.com/users/criteo-forks/orgs","repos_url":"https://api.github.com/users/criteo-forks/repos","events_url":"https://api.github.com/users/criteo-forks/events{/privacy}","received_events_url":"https://api.github.com/users/criteo-forks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/criteo-forks/S9s_cookbooks","description":"S9s Chef cookbooks","fork":true,"url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks","forks_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/forks","keys_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/teams","hooks_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/hooks","issue_events_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/issues/events{/number}","events_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/events","assignees_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/assignees{/user}","branches_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/branches{/branch}","tags_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/tags","blobs_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/git/refs{/sha}","trees_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/statuses/{sha}","languages_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/languages","stargazers_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/stargazers","contributors_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/contributors","subscribers_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/subscribers","subscription_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/subscription","commits_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/commits{/sha}","git_commits_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/git/commits{/sha}","comments_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/comments{/number}","issue_comment_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/issues/comments{/number}","contents_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/contents/{+path}","compare_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/merges","archive_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/downloads","issues_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/issues{/number}","pulls_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/pulls{/number}","milestones_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/milestones{/number}","notifications_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/labels{/name}","releases_url":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/releases{/id}","created_at":"2015-06-17T15:58:50Z","updated_at":"2015-06-17T15:58:50Z","pushed_at":"2015-08-19T16:20:44Z","git_url":"git://github.com/criteo-forks/S9s_cookbooks.git","ssh_url":"git@github.com:criteo-forks/S9s_cookbooks.git","clone_url":"https://github.com/criteo-forks/S9s_cookbooks.git","svn_url":"https://github.com/criteo-forks/S9s_cookbooks","homepage":"www.severalnines.com","size":375,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/pulls/1"},"html":{"href":"https://github.com/criteo-forks/S9s_cookbooks/pull/1"},"issue":{"href":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/issues/1"},"comments":{"href":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/criteo-forks/S9s_cookbooks/statuses/c5d566baa2652267ee556542e85a4d3f081e933c"}}}}