{"action":"created","comment":{"url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/pulls/comments/31764256","id":31764256,"diff_hunk":"@@ -16,22 +16,26 @@\n         node.set['w_common']['web_apps'] = web_apps\n         node.set['dbhosts']['webapp_ip'] = ['1.1.1.1', '2.2.2.2']\n         node.set['percona']['server']['root_password'] = 'rootpassword'\n-        node.automatic['hostname'] = '0dbhost.example.com'\n+        node.automatic['hostname'] = 'dbhost.example.com'\n       end.converge(described_recipe)\n     end\n \n     before do\n       stub_command(\"mysqladmin --user=root --password='' version\").and_return(true)\n-      stub_search(:node, 'role:percona').and_return([ { private_ipaddress: '10.10.10.10' }, { private_ipaddress: '10.10.10.11' } ])\n+      stub_search(:node, 'chef_environment:_default AND role:w_percona_role').and_return(\n+        [\n+          { private_ipaddress: '10.10.9.10', roles: [\"w_common_role\", \"w_percona_role\"]},\n+          { private_ipaddress: '10.10.9.11', roles: [\"w_common_role\", \"w_percona_role\"]}","path":"spec/w_percona/database_spec.rb","position":15,"original_position":15,"commit_id":"6cdf47efa334a214aaba3cc59e910a7f7d346e3f","original_commit_id":"6cdf47efa334a214aaba3cc59e910a7f7d346e3f","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [88/80]<br>Space inside } missing.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-06-04T20:53:03Z","updated_at":"2015-06-04T20:53:03Z","html_url":"https://github.com/joelhandwell/php-ha-multi-tier-app-cookbook/pull/27#discussion_r31764256","pull_request_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/pulls/comments/31764256"},"html":{"href":"https://github.com/joelhandwell/php-ha-multi-tier-app-cookbook/pull/27#discussion_r31764256"},"pull_request":{"href":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/pulls/27","id":36976971,"html_url":"https://github.com/joelhandwell/php-ha-multi-tier-app-cookbook/pull/27","diff_url":"https://github.com/joelhandwell/php-ha-multi-tier-app-cookbook/pull/27.diff","patch_url":"https://github.com/joelhandwell/php-ha-multi-tier-app-cookbook/pull/27.patch","issue_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/issues/27","number":27,"state":"open","locked":false,"title":"Update percona cookbook to 0.16.1","user":{"login":"joelhandwell","id":3857152,"avatar_url":"https://avatars.githubusercontent.com/u/3857152?v=3","gravatar_id":"","url":"https://api.github.com/users/joelhandwell","html_url":"https://github.com/joelhandwell","followers_url":"https://api.github.com/users/joelhandwell/followers","following_url":"https://api.github.com/users/joelhandwell/following{/other_user}","gists_url":"https://api.github.com/users/joelhandwell/gists{/gist_id}","starred_url":"https://api.github.com/users/joelhandwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelhandwell/subscriptions","organizations_url":"https://api.github.com/users/joelhandwell/orgs","repos_url":"https://api.github.com/users/joelhandwell/repos","events_url":"https://api.github.com/users/joelhandwell/events{/privacy}","received_events_url":"https://api.github.com/users/joelhandwell/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-04T20:53:00Z","updated_at":"2015-06-04T20:53:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0266469f94a73391d3690526fa15485874f0574f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/pulls/27/commits","review_comments_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/pulls/27/comments","review_comment_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/issues/27/comments","statuses_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/statuses/6cdf47efa334a214aaba3cc59e910a7f7d346e3f","head":{"label":"joelhandwell:percona","ref":"percona","sha":"6cdf47efa334a214aaba3cc59e910a7f7d346e3f","user":{"login":"joelhandwell","id":3857152,"avatar_url":"https://avatars.githubusercontent.com/u/3857152?v=3","gravatar_id":"","url":"https://api.github.com/users/joelhandwell","html_url":"https://github.com/joelhandwell","followers_url":"https://api.github.com/users/joelhandwell/followers","following_url":"https://api.github.com/users/joelhandwell/following{/other_user}","gists_url":"https://api.github.com/users/joelhandwell/gists{/gist_id}","starred_url":"https://api.github.com/users/joelhandwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelhandwell/subscriptions","organizations_url":"https://api.github.com/users/joelhandwell/orgs","repos_url":"https://api.github.com/users/joelhandwell/repos","events_url":"https://api.github.com/users/joelhandwell/events{/privacy}","received_events_url":"https://api.github.com/users/joelhandwell/received_events","type":"User","site_admin":false},"repo":{"id":29204974,"name":"php-ha-multi-tier-app-cookbook","full_name":"joelhandwell/php-ha-multi-tier-app-cookbook","owner":{"login":"joelhandwell","id":3857152,"avatar_url":"https://avatars.githubusercontent.com/u/3857152?v=3","gravatar_id":"","url":"https://api.github.com/users/joelhandwell","html_url":"https://github.com/joelhandwell","followers_url":"https://api.github.com/users/joelhandwell/followers","following_url":"https://api.github.com/users/joelhandwell/following{/other_user}","gists_url":"https://api.github.com/users/joelhandwell/gists{/gist_id}","starred_url":"https://api.github.com/users/joelhandwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelhandwell/subscriptions","organizations_url":"https://api.github.com/users/joelhandwell/orgs","repos_url":"https://api.github.com/users/joelhandwell/repos","events_url":"https://api.github.com/users/joelhandwell/events{/privacy}","received_events_url":"https://api.github.com/users/joelhandwell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joelhandwell/php-ha-multi-tier-app-cookbook","description":"Chef cookbook to installs and configures PHP high availability web application with HAProxy, Varnish, Memcached, Percona XtraDB Cluster","fork":false,"url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook","forks_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/forks","keys_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/teams","hooks_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/hooks","issue_events_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/events","assignees_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/tags","blobs_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/languages","stargazers_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/stargazers","contributors_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/contributors","subscribers_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/subscribers","subscription_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/subscription","commits_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/merges","archive_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/downloads","issues_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/releases{/id}","created_at":"2015-01-13T18:44:01Z","updated_at":"2015-05-14T14:54:47Z","pushed_at":"2015-06-04T20:53:02Z","git_url":"git://github.com/joelhandwell/php-ha-multi-tier-app-cookbook.git","ssh_url":"git@github.com:joelhandwell/php-ha-multi-tier-app-cookbook.git","clone_url":"https://github.com/joelhandwell/php-ha-multi-tier-app-cookbook.git","svn_url":"https://github.com/joelhandwell/php-ha-multi-tier-app-cookbook","homepage":"","size":772,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"joelhandwell:master","ref":"master","sha":"74bcbc1239aace2ac039fd6f76dd0f557fd8ba66","user":{"login":"joelhandwell","id":3857152,"avatar_url":"https://avatars.githubusercontent.com/u/3857152?v=3","gravatar_id":"","url":"https://api.github.com/users/joelhandwell","html_url":"https://github.com/joelhandwell","followers_url":"https://api.github.com/users/joelhandwell/followers","following_url":"https://api.github.com/users/joelhandwell/following{/other_user}","gists_url":"https://api.github.com/users/joelhandwell/gists{/gist_id}","starred_url":"https://api.github.com/users/joelhandwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelhandwell/subscriptions","organizations_url":"https://api.github.com/users/joelhandwell/orgs","repos_url":"https://api.github.com/users/joelhandwell/repos","events_url":"https://api.github.com/users/joelhandwell/events{/privacy}","received_events_url":"https://api.github.com/users/joelhandwell/received_events","type":"User","site_admin":false},"repo":{"id":29204974,"name":"php-ha-multi-tier-app-cookbook","full_name":"joelhandwell/php-ha-multi-tier-app-cookbook","owner":{"login":"joelhandwell","id":3857152,"avatar_url":"https://avatars.githubusercontent.com/u/3857152?v=3","gravatar_id":"","url":"https://api.github.com/users/joelhandwell","html_url":"https://github.com/joelhandwell","followers_url":"https://api.github.com/users/joelhandwell/followers","following_url":"https://api.github.com/users/joelhandwell/following{/other_user}","gists_url":"https://api.github.com/users/joelhandwell/gists{/gist_id}","starred_url":"https://api.github.com/users/joelhandwell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelhandwell/subscriptions","organizations_url":"https://api.github.com/users/joelhandwell/orgs","repos_url":"https://api.github.com/users/joelhandwell/repos","events_url":"https://api.github.com/users/joelhandwell/events{/privacy}","received_events_url":"https://api.github.com/users/joelhandwell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joelhandwell/php-ha-multi-tier-app-cookbook","description":"Chef cookbook to installs and configures PHP high availability web application with HAProxy, Varnish, Memcached, Percona XtraDB Cluster","fork":false,"url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook","forks_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/forks","keys_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/teams","hooks_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/hooks","issue_events_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/issues/events{/number}","events_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/events","assignees_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/assignees{/user}","branches_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/branches{/branch}","tags_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/tags","blobs_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/statuses/{sha}","languages_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/languages","stargazers_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/stargazers","contributors_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/contributors","subscribers_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/subscribers","subscription_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/subscription","commits_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/contents/{+path}","compare_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/merges","archive_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/downloads","issues_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/issues{/number}","pulls_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/pulls{/number}","milestones_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/milestones{/number}","notifications_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/labels{/name}","releases_url":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/releases{/id}","created_at":"2015-01-13T18:44:01Z","updated_at":"2015-05-14T14:54:47Z","pushed_at":"2015-06-04T20:53:02Z","git_url":"git://github.com/joelhandwell/php-ha-multi-tier-app-cookbook.git","ssh_url":"git@github.com:joelhandwell/php-ha-multi-tier-app-cookbook.git","clone_url":"https://github.com/joelhandwell/php-ha-multi-tier-app-cookbook.git","svn_url":"https://github.com/joelhandwell/php-ha-multi-tier-app-cookbook","homepage":"","size":772,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":1,"forks":5,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/pulls/27"},"html":{"href":"https://github.com/joelhandwell/php-ha-multi-tier-app-cookbook/pull/27"},"issue":{"href":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/issues/27"},"comments":{"href":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/joelhandwell/php-ha-multi-tier-app-cookbook/statuses/6cdf47efa334a214aaba3cc59e910a7f7d346e3f"}}}}