{"action":"created","comment":{"url":"https://api.github.com/repos/koding/stacks/pulls/comments/109989638","pull_request_review_id":31128164,"id":109989638,"diff_hunk":"@@ -12,46 +12,27 @@ resource:\n       tags:\n         Name: '${var.koding_user_username}-${var.koding_group_slug}'\n       user_data: |-\n-        set -e\n+        #!/bin/bash\n+\n+        set -xe\n+\n         export DEBIAN_FRONTEND=noninteractive\n         \n-        #Getting username IP, and version variables\n-        export KODING_USER=${var.koding_user_username}\n-        IPVAR=$(curl http://169.254.169.254/latest/meta-data/public-ipv4)\n-        version=\"2.4.25\"\n+        apt-get update\n+        apt-get install -y apache2 --no-install-recommends","path":"apache.yml","position":24,"original_position":24,"commit_id":"c923335111c3b69b0d60781d030accf9af927b94","original_commit_id":"c923335111c3b69b0d60781d030accf9af927b94","user":{"login":"szkl","id":1136739,"avatar_url":"https://avatars1.githubusercontent.com/u/1136739?v=3","gravatar_id":"","url":"https://api.github.com/users/szkl","html_url":"https://github.com/szkl","followers_url":"https://api.github.com/users/szkl/followers","following_url":"https://api.github.com/users/szkl/following{/other_user}","gists_url":"https://api.github.com/users/szkl/gists{/gist_id}","starred_url":"https://api.github.com/users/szkl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szkl/subscriptions","organizations_url":"https://api.github.com/users/szkl/orgs","repos_url":"https://api.github.com/users/szkl/repos","events_url":"https://api.github.com/users/szkl/events{/privacy}","received_events_url":"https://api.github.com/users/szkl/received_events","type":"User","site_admin":false},"body":"Put named options before positional arguments and use long option name.","created_at":"2017-04-05T18:15:14Z","updated_at":"2017-04-05T18:29:25Z","html_url":"https://github.com/koding/stacks/pull/16#discussion_r109989638","pull_request_url":"https://api.github.com/repos/koding/stacks/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/koding/stacks/pulls/comments/109989638"},"html":{"href":"https://github.com/koding/stacks/pull/16#discussion_r109989638"},"pull_request":{"href":"https://api.github.com/repos/koding/stacks/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/koding/stacks/pulls/16","id":114436890,"html_url":"https://github.com/koding/stacks/pull/16","diff_url":"https://github.com/koding/stacks/pull/16.diff","patch_url":"https://github.com/koding/stacks/pull/16.patch","issue_url":"https://api.github.com/repos/koding/stacks/issues/16","number":16,"state":"open","locked":false,"title":"Update a few stacks","user":{"login":"htaslan","id":10838794,"avatar_url":"https://avatars2.githubusercontent.com/u/10838794?v=3","gravatar_id":"","url":"https://api.github.com/users/htaslan","html_url":"https://github.com/htaslan","followers_url":"https://api.github.com/users/htaslan/followers","following_url":"https://api.github.com/users/htaslan/following{/other_user}","gists_url":"https://api.github.com/users/htaslan/gists{/gist_id}","starred_url":"https://api.github.com/users/htaslan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htaslan/subscriptions","organizations_url":"https://api.github.com/users/htaslan/orgs","repos_url":"https://api.github.com/users/htaslan/repos","events_url":"https://api.github.com/users/htaslan/events{/privacy}","received_events_url":"https://api.github.com/users/htaslan/received_events","type":"User","site_admin":false},"body":"Modified stacks:\r\n- `apache`\r\n- `docker`\r\n- `memsql`\r\n- `nodejs`","created_at":"2017-04-05T17:59:07Z","updated_at":"2017-04-05T18:29:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89f5101eb3077f16a1a732bb3eb06afe96eef3a2","assignee":{"login":"szkl","id":1136739,"avatar_url":"https://avatars1.githubusercontent.com/u/1136739?v=3","gravatar_id":"","url":"https://api.github.com/users/szkl","html_url":"https://github.com/szkl","followers_url":"https://api.github.com/users/szkl/followers","following_url":"https://api.github.com/users/szkl/following{/other_user}","gists_url":"https://api.github.com/users/szkl/gists{/gist_id}","starred_url":"https://api.github.com/users/szkl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szkl/subscriptions","organizations_url":"https://api.github.com/users/szkl/orgs","repos_url":"https://api.github.com/users/szkl/repos","events_url":"https://api.github.com/users/szkl/events{/privacy}","received_events_url":"https://api.github.com/users/szkl/received_events","type":"User","site_admin":false},"assignees":[{"login":"szkl","id":1136739,"avatar_url":"https://avatars1.githubusercontent.com/u/1136739?v=3","gravatar_id":"","url":"https://api.github.com/users/szkl","html_url":"https://github.com/szkl","followers_url":"https://api.github.com/users/szkl/followers","following_url":"https://api.github.com/users/szkl/following{/other_user}","gists_url":"https://api.github.com/users/szkl/gists{/gist_id}","starred_url":"https://api.github.com/users/szkl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szkl/subscriptions","organizations_url":"https://api.github.com/users/szkl/orgs","repos_url":"https://api.github.com/users/szkl/repos","events_url":"https://api.github.com/users/szkl/events{/privacy}","received_events_url":"https://api.github.com/users/szkl/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/koding/stacks/pulls/16/commits","review_comments_url":"https://api.github.com/repos/koding/stacks/pulls/16/comments","review_comment_url":"https://api.github.com/repos/koding/stacks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/koding/stacks/issues/16/comments","statuses_url":"https://api.github.com/repos/koding/stacks/statuses/c923335111c3b69b0d60781d030accf9af927b94","head":{"label":"htaslan:update-stacks","ref":"update-stacks","sha":"c923335111c3b69b0d60781d030accf9af927b94","user":{"login":"htaslan","id":10838794,"avatar_url":"https://avatars2.githubusercontent.com/u/10838794?v=3","gravatar_id":"","url":"https://api.github.com/users/htaslan","html_url":"https://github.com/htaslan","followers_url":"https://api.github.com/users/htaslan/followers","following_url":"https://api.github.com/users/htaslan/following{/other_user}","gists_url":"https://api.github.com/users/htaslan/gists{/gist_id}","starred_url":"https://api.github.com/users/htaslan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htaslan/subscriptions","organizations_url":"https://api.github.com/users/htaslan/orgs","repos_url":"https://api.github.com/users/htaslan/repos","events_url":"https://api.github.com/users/htaslan/events{/privacy}","received_events_url":"https://api.github.com/users/htaslan/received_events","type":"User","site_admin":false},"repo":{"id":87213629,"name":"stacks","full_name":"htaslan/stacks","owner":{"login":"htaslan","id":10838794,"avatar_url":"https://avatars2.githubusercontent.com/u/10838794?v=3","gravatar_id":"","url":"https://api.github.com/users/htaslan","html_url":"https://github.com/htaslan","followers_url":"https://api.github.com/users/htaslan/followers","following_url":"https://api.github.com/users/htaslan/following{/other_user}","gists_url":"https://api.github.com/users/htaslan/gists{/gist_id}","starred_url":"https://api.github.com/users/htaslan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htaslan/subscriptions","organizations_url":"https://api.github.com/users/htaslan/orgs","repos_url":"https://api.github.com/users/htaslan/repos","events_url":"https://api.github.com/users/htaslan/events{/privacy}","received_events_url":"https://api.github.com/users/htaslan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/htaslan/stacks","description":"Example Koding Stack Scripts","fork":true,"url":"https://api.github.com/repos/htaslan/stacks","forks_url":"https://api.github.com/repos/htaslan/stacks/forks","keys_url":"https://api.github.com/repos/htaslan/stacks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htaslan/stacks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htaslan/stacks/teams","hooks_url":"https://api.github.com/repos/htaslan/stacks/hooks","issue_events_url":"https://api.github.com/repos/htaslan/stacks/issues/events{/number}","events_url":"https://api.github.com/repos/htaslan/stacks/events","assignees_url":"https://api.github.com/repos/htaslan/stacks/assignees{/user}","branches_url":"https://api.github.com/repos/htaslan/stacks/branches{/branch}","tags_url":"https://api.github.com/repos/htaslan/stacks/tags","blobs_url":"https://api.github.com/repos/htaslan/stacks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htaslan/stacks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htaslan/stacks/git/refs{/sha}","trees_url":"https://api.github.com/repos/htaslan/stacks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htaslan/stacks/statuses/{sha}","languages_url":"https://api.github.com/repos/htaslan/stacks/languages","stargazers_url":"https://api.github.com/repos/htaslan/stacks/stargazers","contributors_url":"https://api.github.com/repos/htaslan/stacks/contributors","subscribers_url":"https://api.github.com/repos/htaslan/stacks/subscribers","subscription_url":"https://api.github.com/repos/htaslan/stacks/subscription","commits_url":"https://api.github.com/repos/htaslan/stacks/commits{/sha}","git_commits_url":"https://api.github.com/repos/htaslan/stacks/git/commits{/sha}","comments_url":"https://api.github.com/repos/htaslan/stacks/comments{/number}","issue_comment_url":"https://api.github.com/repos/htaslan/stacks/issues/comments{/number}","contents_url":"https://api.github.com/repos/htaslan/stacks/contents/{+path}","compare_url":"https://api.github.com/repos/htaslan/stacks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htaslan/stacks/merges","archive_url":"https://api.github.com/repos/htaslan/stacks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htaslan/stacks/downloads","issues_url":"https://api.github.com/repos/htaslan/stacks/issues{/number}","pulls_url":"https://api.github.com/repos/htaslan/stacks/pulls{/number}","milestones_url":"https://api.github.com/repos/htaslan/stacks/milestones{/number}","notifications_url":"https://api.github.com/repos/htaslan/stacks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htaslan/stacks/labels{/name}","releases_url":"https://api.github.com/repos/htaslan/stacks/releases{/id}","deployments_url":"https://api.github.com/repos/htaslan/stacks/deployments","created_at":"2017-04-04T17:04:03Z","updated_at":"2017-03-14T02:45:06Z","pushed_at":"2017-04-05T17:46:15Z","git_url":"git://github.com/htaslan/stacks.git","ssh_url":"git@github.com:htaslan/stacks.git","clone_url":"https://github.com/htaslan/stacks.git","svn_url":"https://github.com/htaslan/stacks","homepage":"","size":24,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"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":"koding:master","ref":"master","sha":"8a01aca78b83b4a77a8db98fd7ff68f003c8ae8b","user":{"login":"koding","id":1066754,"avatar_url":"https://avatars0.githubusercontent.com/u/1066754?v=3","gravatar_id":"","url":"https://api.github.com/users/koding","html_url":"https://github.com/koding","followers_url":"https://api.github.com/users/koding/followers","following_url":"https://api.github.com/users/koding/following{/other_user}","gists_url":"https://api.github.com/users/koding/gists{/gist_id}","starred_url":"https://api.github.com/users/koding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koding/subscriptions","organizations_url":"https://api.github.com/users/koding/orgs","repos_url":"https://api.github.com/users/koding/repos","events_url":"https://api.github.com/users/koding/events{/privacy}","received_events_url":"https://api.github.com/users/koding/received_events","type":"Organization","site_admin":false},"repo":{"id":70858525,"name":"stacks","full_name":"koding/stacks","owner":{"login":"koding","id":1066754,"avatar_url":"https://avatars0.githubusercontent.com/u/1066754?v=3","gravatar_id":"","url":"https://api.github.com/users/koding","html_url":"https://github.com/koding","followers_url":"https://api.github.com/users/koding/followers","following_url":"https://api.github.com/users/koding/following{/other_user}","gists_url":"https://api.github.com/users/koding/gists{/gist_id}","starred_url":"https://api.github.com/users/koding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koding/subscriptions","organizations_url":"https://api.github.com/users/koding/orgs","repos_url":"https://api.github.com/users/koding/repos","events_url":"https://api.github.com/users/koding/events{/privacy}","received_events_url":"https://api.github.com/users/koding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/koding/stacks","description":"Example Koding Stack Scripts","fork":false,"url":"https://api.github.com/repos/koding/stacks","forks_url":"https://api.github.com/repos/koding/stacks/forks","keys_url":"https://api.github.com/repos/koding/stacks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/koding/stacks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/koding/stacks/teams","hooks_url":"https://api.github.com/repos/koding/stacks/hooks","issue_events_url":"https://api.github.com/repos/koding/stacks/issues/events{/number}","events_url":"https://api.github.com/repos/koding/stacks/events","assignees_url":"https://api.github.com/repos/koding/stacks/assignees{/user}","branches_url":"https://api.github.com/repos/koding/stacks/branches{/branch}","tags_url":"https://api.github.com/repos/koding/stacks/tags","blobs_url":"https://api.github.com/repos/koding/stacks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/koding/stacks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/koding/stacks/git/refs{/sha}","trees_url":"https://api.github.com/repos/koding/stacks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/koding/stacks/statuses/{sha}","languages_url":"https://api.github.com/repos/koding/stacks/languages","stargazers_url":"https://api.github.com/repos/koding/stacks/stargazers","contributors_url":"https://api.github.com/repos/koding/stacks/contributors","subscribers_url":"https://api.github.com/repos/koding/stacks/subscribers","subscription_url":"https://api.github.com/repos/koding/stacks/subscription","commits_url":"https://api.github.com/repos/koding/stacks/commits{/sha}","git_commits_url":"https://api.github.com/repos/koding/stacks/git/commits{/sha}","comments_url":"https://api.github.com/repos/koding/stacks/comments{/number}","issue_comment_url":"https://api.github.com/repos/koding/stacks/issues/comments{/number}","contents_url":"https://api.github.com/repos/koding/stacks/contents/{+path}","compare_url":"https://api.github.com/repos/koding/stacks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/koding/stacks/merges","archive_url":"https://api.github.com/repos/koding/stacks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/koding/stacks/downloads","issues_url":"https://api.github.com/repos/koding/stacks/issues{/number}","pulls_url":"https://api.github.com/repos/koding/stacks/pulls{/number}","milestones_url":"https://api.github.com/repos/koding/stacks/milestones{/number}","notifications_url":"https://api.github.com/repos/koding/stacks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/koding/stacks/labels{/name}","releases_url":"https://api.github.com/repos/koding/stacks/releases{/id}","deployments_url":"https://api.github.com/repos/koding/stacks/deployments","created_at":"2016-10-14T00:15:38Z","updated_at":"2017-03-14T02:45:06Z","pushed_at":"2017-04-05T17:59:08Z","git_url":"git://github.com/koding/stacks.git","ssh_url":"git@github.com:koding/stacks.git","clone_url":"https://github.com/koding/stacks.git","svn_url":"https://github.com/koding/stacks","homepage":"","size":24,"stargazers_count":4,"watchers_count":4,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/koding/stacks/pulls/16"},"html":{"href":"https://github.com/koding/stacks/pull/16"},"issue":{"href":"https://api.github.com/repos/koding/stacks/issues/16"},"comments":{"href":"https://api.github.com/repos/koding/stacks/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/koding/stacks/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/koding/stacks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/koding/stacks/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/koding/stacks/statuses/c923335111c3b69b0d60781d030accf9af927b94"}}}}
{"actor":{"display_login":"szkl"}}