{"action":"created","comment":{"url":"https://api.github.com/repos/chef-cookbooks/omnibus/pulls/comments/47146598","id":47146598,"diff_hunk":"@@ -20,6 +20,9 @@\n # Include the common recipe\n include_recipe 'omnibus::_common'\n \n+# Install the omnibus toolchain so we have a shell\n+include_recipe 'omnibus::_omnibus_toolchain' if omnibus_toolchain_enabled?","path":"recipes/_user.rb","position":5,"original_position":5,"commit_id":"9211e15caccba2ab4869852dd929e54e9c9fac28","original_commit_id":"9211e15caccba2ab4869852dd929e54e9c9fac28","user":{"login":"schisamo","id":6164,"avatar_url":"https://avatars.githubusercontent.com/u/6164?v=3","gravatar_id":"","url":"https://api.github.com/users/schisamo","html_url":"https://github.com/schisamo","followers_url":"https://api.github.com/users/schisamo/followers","following_url":"https://api.github.com/users/schisamo/following{/other_user}","gists_url":"https://api.github.com/users/schisamo/gists{/gist_id}","starred_url":"https://api.github.com/users/schisamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schisamo/subscriptions","organizations_url":"https://api.github.com/users/schisamo/orgs","repos_url":"https://api.github.com/users/schisamo/repos","events_url":"https://api.github.com/users/schisamo/events{/privacy}","received_events_url":"https://api.github.com/users/schisamo/received_events","type":"User","site_admin":false},"body":"To follow the idiom used in other recipes just move this guard to the `_omnibus_toolchain.rb` recipe:\r\n\r\n```ruby\r\nreturn unless omnibus_toolchain_enabled?\r\n```\r\n\r\nDitto in `default.rb`: \r\nhttps://github.com/chef-cookbooks/omnibus/blob/9211e15caccba2ab4869852dd929e54e9c9fac28/recipes/default.rb#L24","created_at":"2015-12-09T20:24:34Z","updated_at":"2015-12-09T20:24:34Z","html_url":"https://github.com/chef-cookbooks/omnibus/pull/144#discussion_r47146598","pull_request_url":"https://api.github.com/repos/chef-cookbooks/omnibus/pulls/144","_links":{"self":{"href":"https://api.github.com/repos/chef-cookbooks/omnibus/pulls/comments/47146598"},"html":{"href":"https://github.com/chef-cookbooks/omnibus/pull/144#discussion_r47146598"},"pull_request":{"href":"https://api.github.com/repos/chef-cookbooks/omnibus/pulls/144"}}},"pull_request":{"url":"https://api.github.com/repos/chef-cookbooks/omnibus/pulls/144","id":53172474,"html_url":"https://github.com/chef-cookbooks/omnibus/pull/144","diff_url":"https://github.com/chef-cookbooks/omnibus/pull/144.diff","patch_url":"https://github.com/chef-cookbooks/omnibus/pull/144.patch","issue_url":"https://api.github.com/repos/chef-cookbooks/omnibus/issues/144","number":144,"state":"open","locked":false,"title":"WIP Enable omnibus toolchain for nexus platform","user":{"login":"scotthain","id":2817921,"avatar_url":"https://avatars.githubusercontent.com/u/2817921?v=3","gravatar_id":"","url":"https://api.github.com/users/scotthain","html_url":"https://github.com/scotthain","followers_url":"https://api.github.com/users/scotthain/followers","following_url":"https://api.github.com/users/scotthain/following{/other_user}","gists_url":"https://api.github.com/users/scotthain/gists{/gist_id}","starred_url":"https://api.github.com/users/scotthain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scotthain/subscriptions","organizations_url":"https://api.github.com/users/scotthain/orgs","repos_url":"https://api.github.com/users/scotthain/repos","events_url":"https://api.github.com/users/scotthain/events{/privacy}","received_events_url":"https://api.github.com/users/scotthain/received_events","type":"User","site_admin":false},"body":":construction: \r\nNeed to wait for new sugar release so we can use the `nexus?` syntax instead of `node['platform'] == 'nexus'`\r\n\r\n@chef-cookbooks/engineering-services ","created_at":"2015-12-09T20:22:11Z","updated_at":"2015-12-09T20:24:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ea941489ac9f3a42448b47fa211b8618e40de014","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chef-cookbooks/omnibus/pulls/144/commits","review_comments_url":"https://api.github.com/repos/chef-cookbooks/omnibus/pulls/144/comments","review_comment_url":"https://api.github.com/repos/chef-cookbooks/omnibus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chef-cookbooks/omnibus/issues/144/comments","statuses_url":"https://api.github.com/repos/chef-cookbooks/omnibus/statuses/9211e15caccba2ab4869852dd929e54e9c9fac28","head":{"label":"chef-cookbooks:shain/enable_nexus","ref":"shain/enable_nexus","sha":"9211e15caccba2ab4869852dd929e54e9c9fac28","user":{"login":"chef-cookbooks","id":3617830,"avatar_url":"https://avatars.githubusercontent.com/u/3617830?v=3","gravatar_id":"","url":"https://api.github.com/users/chef-cookbooks","html_url":"https://github.com/chef-cookbooks","followers_url":"https://api.github.com/users/chef-cookbooks/followers","following_url":"https://api.github.com/users/chef-cookbooks/following{/other_user}","gists_url":"https://api.github.com/users/chef-cookbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-cookbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-cookbooks/subscriptions","organizations_url":"https://api.github.com/users/chef-cookbooks/orgs","repos_url":"https://api.github.com/users/chef-cookbooks/repos","events_url":"https://api.github.com/users/chef-cookbooks/events{/privacy}","received_events_url":"https://api.github.com/users/chef-cookbooks/received_events","type":"Organization","site_admin":false},"repo":{"id":9323824,"name":"omnibus","full_name":"chef-cookbooks/omnibus","owner":{"login":"chef-cookbooks","id":3617830,"avatar_url":"https://avatars.githubusercontent.com/u/3617830?v=3","gravatar_id":"","url":"https://api.github.com/users/chef-cookbooks","html_url":"https://github.com/chef-cookbooks","followers_url":"https://api.github.com/users/chef-cookbooks/followers","following_url":"https://api.github.com/users/chef-cookbooks/following{/other_user}","gists_url":"https://api.github.com/users/chef-cookbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-cookbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-cookbooks/subscriptions","organizations_url":"https://api.github.com/users/chef-cookbooks/orgs","repos_url":"https://api.github.com/users/chef-cookbooks/repos","events_url":"https://api.github.com/users/chef-cookbooks/events{/privacy}","received_events_url":"https://api.github.com/users/chef-cookbooks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef-cookbooks/omnibus","description":"Prepares a machine to be an Omnibus builder. ┬──┬◡ﾉ(° -°ﾉ)","fork":false,"url":"https://api.github.com/repos/chef-cookbooks/omnibus","forks_url":"https://api.github.com/repos/chef-cookbooks/omnibus/forks","keys_url":"https://api.github.com/repos/chef-cookbooks/omnibus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef-cookbooks/omnibus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef-cookbooks/omnibus/teams","hooks_url":"https://api.github.com/repos/chef-cookbooks/omnibus/hooks","issue_events_url":"https://api.github.com/repos/chef-cookbooks/omnibus/issues/events{/number}","events_url":"https://api.github.com/repos/chef-cookbooks/omnibus/events","assignees_url":"https://api.github.com/repos/chef-cookbooks/omnibus/assignees{/user}","branches_url":"https://api.github.com/repos/chef-cookbooks/omnibus/branches{/branch}","tags_url":"https://api.github.com/repos/chef-cookbooks/omnibus/tags","blobs_url":"https://api.github.com/repos/chef-cookbooks/omnibus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef-cookbooks/omnibus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef-cookbooks/omnibus/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef-cookbooks/omnibus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef-cookbooks/omnibus/statuses/{sha}","languages_url":"https://api.github.com/repos/chef-cookbooks/omnibus/languages","stargazers_url":"https://api.github.com/repos/chef-cookbooks/omnibus/stargazers","contributors_url":"https://api.github.com/repos/chef-cookbooks/omnibus/contributors","subscribers_url":"https://api.github.com/repos/chef-cookbooks/omnibus/subscribers","subscription_url":"https://api.github.com/repos/chef-cookbooks/omnibus/subscription","commits_url":"https://api.github.com/repos/chef-cookbooks/omnibus/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef-cookbooks/omnibus/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef-cookbooks/omnibus/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef-cookbooks/omnibus/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef-cookbooks/omnibus/contents/{+path}","compare_url":"https://api.github.com/repos/chef-cookbooks/omnibus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef-cookbooks/omnibus/merges","archive_url":"https://api.github.com/repos/chef-cookbooks/omnibus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef-cookbooks/omnibus/downloads","issues_url":"https://api.github.com/repos/chef-cookbooks/omnibus/issues{/number}","pulls_url":"https://api.github.com/repos/chef-cookbooks/omnibus/pulls{/number}","milestones_url":"https://api.github.com/repos/chef-cookbooks/omnibus/milestones{/number}","notifications_url":"https://api.github.com/repos/chef-cookbooks/omnibus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef-cookbooks/omnibus/labels{/name}","releases_url":"https://api.github.com/repos/chef-cookbooks/omnibus/releases{/id}","created_at":"2013-04-09T14:56:46Z","updated_at":"2015-12-09T15:56:03Z","pushed_at":"2015-12-09T20:22:11Z","git_url":"git://github.com/chef-cookbooks/omnibus.git","ssh_url":"git@github.com:chef-cookbooks/omnibus.git","clone_url":"https://github.com/chef-cookbooks/omnibus.git","svn_url":"https://github.com/chef-cookbooks/omnibus","homepage":"","size":743,"stargazers_count":16,"watchers_count":16,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":5,"forks":31,"open_issues":5,"watchers":16,"default_branch":"master"}},"base":{"label":"chef-cookbooks:master","ref":"master","sha":"d15ab900092f2e2cc2a91ad5222a78a9ebe20262","user":{"login":"chef-cookbooks","id":3617830,"avatar_url":"https://avatars.githubusercontent.com/u/3617830?v=3","gravatar_id":"","url":"https://api.github.com/users/chef-cookbooks","html_url":"https://github.com/chef-cookbooks","followers_url":"https://api.github.com/users/chef-cookbooks/followers","following_url":"https://api.github.com/users/chef-cookbooks/following{/other_user}","gists_url":"https://api.github.com/users/chef-cookbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-cookbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-cookbooks/subscriptions","organizations_url":"https://api.github.com/users/chef-cookbooks/orgs","repos_url":"https://api.github.com/users/chef-cookbooks/repos","events_url":"https://api.github.com/users/chef-cookbooks/events{/privacy}","received_events_url":"https://api.github.com/users/chef-cookbooks/received_events","type":"Organization","site_admin":false},"repo":{"id":9323824,"name":"omnibus","full_name":"chef-cookbooks/omnibus","owner":{"login":"chef-cookbooks","id":3617830,"avatar_url":"https://avatars.githubusercontent.com/u/3617830?v=3","gravatar_id":"","url":"https://api.github.com/users/chef-cookbooks","html_url":"https://github.com/chef-cookbooks","followers_url":"https://api.github.com/users/chef-cookbooks/followers","following_url":"https://api.github.com/users/chef-cookbooks/following{/other_user}","gists_url":"https://api.github.com/users/chef-cookbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/chef-cookbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chef-cookbooks/subscriptions","organizations_url":"https://api.github.com/users/chef-cookbooks/orgs","repos_url":"https://api.github.com/users/chef-cookbooks/repos","events_url":"https://api.github.com/users/chef-cookbooks/events{/privacy}","received_events_url":"https://api.github.com/users/chef-cookbooks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chef-cookbooks/omnibus","description":"Prepares a machine to be an Omnibus builder. ┬──┬◡ﾉ(° -°ﾉ)","fork":false,"url":"https://api.github.com/repos/chef-cookbooks/omnibus","forks_url":"https://api.github.com/repos/chef-cookbooks/omnibus/forks","keys_url":"https://api.github.com/repos/chef-cookbooks/omnibus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chef-cookbooks/omnibus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chef-cookbooks/omnibus/teams","hooks_url":"https://api.github.com/repos/chef-cookbooks/omnibus/hooks","issue_events_url":"https://api.github.com/repos/chef-cookbooks/omnibus/issues/events{/number}","events_url":"https://api.github.com/repos/chef-cookbooks/omnibus/events","assignees_url":"https://api.github.com/repos/chef-cookbooks/omnibus/assignees{/user}","branches_url":"https://api.github.com/repos/chef-cookbooks/omnibus/branches{/branch}","tags_url":"https://api.github.com/repos/chef-cookbooks/omnibus/tags","blobs_url":"https://api.github.com/repos/chef-cookbooks/omnibus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chef-cookbooks/omnibus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chef-cookbooks/omnibus/git/refs{/sha}","trees_url":"https://api.github.com/repos/chef-cookbooks/omnibus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chef-cookbooks/omnibus/statuses/{sha}","languages_url":"https://api.github.com/repos/chef-cookbooks/omnibus/languages","stargazers_url":"https://api.github.com/repos/chef-cookbooks/omnibus/stargazers","contributors_url":"https://api.github.com/repos/chef-cookbooks/omnibus/contributors","subscribers_url":"https://api.github.com/repos/chef-cookbooks/omnibus/subscribers","subscription_url":"https://api.github.com/repos/chef-cookbooks/omnibus/subscription","commits_url":"https://api.github.com/repos/chef-cookbooks/omnibus/commits{/sha}","git_commits_url":"https://api.github.com/repos/chef-cookbooks/omnibus/git/commits{/sha}","comments_url":"https://api.github.com/repos/chef-cookbooks/omnibus/comments{/number}","issue_comment_url":"https://api.github.com/repos/chef-cookbooks/omnibus/issues/comments{/number}","contents_url":"https://api.github.com/repos/chef-cookbooks/omnibus/contents/{+path}","compare_url":"https://api.github.com/repos/chef-cookbooks/omnibus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chef-cookbooks/omnibus/merges","archive_url":"https://api.github.com/repos/chef-cookbooks/omnibus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chef-cookbooks/omnibus/downloads","issues_url":"https://api.github.com/repos/chef-cookbooks/omnibus/issues{/number}","pulls_url":"https://api.github.com/repos/chef-cookbooks/omnibus/pulls{/number}","milestones_url":"https://api.github.com/repos/chef-cookbooks/omnibus/milestones{/number}","notifications_url":"https://api.github.com/repos/chef-cookbooks/omnibus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chef-cookbooks/omnibus/labels{/name}","releases_url":"https://api.github.com/repos/chef-cookbooks/omnibus/releases{/id}","created_at":"2013-04-09T14:56:46Z","updated_at":"2015-12-09T15:56:03Z","pushed_at":"2015-12-09T20:22:11Z","git_url":"git://github.com/chef-cookbooks/omnibus.git","ssh_url":"git@github.com:chef-cookbooks/omnibus.git","clone_url":"https://github.com/chef-cookbooks/omnibus.git","svn_url":"https://github.com/chef-cookbooks/omnibus","homepage":"","size":743,"stargazers_count":16,"watchers_count":16,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":5,"forks":31,"open_issues":5,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chef-cookbooks/omnibus/pulls/144"},"html":{"href":"https://github.com/chef-cookbooks/omnibus/pull/144"},"issue":{"href":"https://api.github.com/repos/chef-cookbooks/omnibus/issues/144"},"comments":{"href":"https://api.github.com/repos/chef-cookbooks/omnibus/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/chef-cookbooks/omnibus/pulls/144/comments"},"review_comment":{"href":"https://api.github.com/repos/chef-cookbooks/omnibus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chef-cookbooks/omnibus/pulls/144/commits"},"statuses":{"href":"https://api.github.com/repos/chef-cookbooks/omnibus/statuses/9211e15caccba2ab4869852dd929e54e9c9fac28"}}}}