{"action":"created","comment":{"url":"https://api.github.com/repos/Pod-Point/homestead/pulls/comments/122650224","pull_request_review_id":44782787,"id":122650224,"diff_hunk":"@@ -3,3 +3,167 @@\n # If you would like to do some extra provisioning you may\n # add any commands you wish to this file and they will\n # be run after the Homestead machine is provisioned.\n+\n+#\n+## Global setup\n+#\n+# Avoid apt-get calls to be interactive\n+export DEBIAN_FRONTEND=noninteractive\n+\n+# Avoid mysql commands to show a warning for using an inline password\n+echo \"secret\" > mysql_config_editor set --login-path=local --host=localhost --user=homestead --password\n+\n+# Set global output colors\n+NC=\"\\033[0m\"\n+WHITE=\"\\033[0;0m\"\n+GREEN=\"\\033[0;37m\"\n+WHITE_ON_PURPLE=\"\\033[37;45m\"\n+WHITE_ON_GREEN=\"\\033[37;42m\"\n+\n+# Constants\n+ES_PORT=9200\n+\n+#\n+## Functions\n+#\n+displayTitle () {\n+    echo \" \"\n+    echo \" \"\n+    echo \" \"\n+    echo \"${WHITE_ON_PURPLE}  $1  ${NC}\"\n+    echo \" \"\n+}\n+\n+displayOkMessage () {\n+    echo \" \"\n+    echo \"${WHITE_ON_GREEN}  OK  ${NC}\"\n+}\n+\n+displayMessage () {\n+    echo \"${WHITE}$1${NC}\"\n+}\n+\n+displaySpacedMessage () {\n+    echo \" \"\n+    displayMessage \"$1\"\n+}\n+\n+displayServerInfo () {\n+    echo \" \"\n+    echo \" \"\n+    echo \" \"\n+    displayMessage \"--------------------------------------\"\n+    echo \"${WHITE_ON_GREEN}  ALL READY!  ${NC}\"\n+    echo \" \"\n+    displayMessage \"bower version: `bower -v`\"\n+    displayMessage \"composer version: `composer -V | grep -Po '\\d+(\\.\\d+)+'`\"\n+    displayMessage \"elasticsearch version: `curl -s -XGET http://localhost:$ES_PORT | grep -E \\\"\\\\\\\"number\\\\\\\"\\\" | grep -Po '\\d+(\\.\\d+)+'`\"\n+    displayMessage \"php version: `php -v | grep -Po 'PHP \\d+(\\.\\d+)+' | sed -e 's/PHP //'`\"\n+    displayMessage \"mysql version: `mysql -Vmysql -V | grep -Po 'Distrib \\d+(\\.\\d+)+' | sed -e 's/Distrib //g'`\"\n+    displayMessage \"node version: `node -v`\"","path":"resources/after.sh","position":61,"original_position":61,"commit_id":"298f7052c4401125bba838e308bf46b9dab5dab0","original_commit_id":"298f7052c4401125bba838e308bf46b9dab5dab0","user":{"login":"keanolane","id":10220184,"avatar_url":"https://avatars2.githubusercontent.com/u/10220184?v=3","gravatar_id":"","url":"https://api.github.com/users/keanolane","html_url":"https://github.com/keanolane","followers_url":"https://api.github.com/users/keanolane/followers","following_url":"https://api.github.com/users/keanolane/following{/other_user}","gists_url":"https://api.github.com/users/keanolane/gists{/gist_id}","starred_url":"https://api.github.com/users/keanolane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keanolane/subscriptions","organizations_url":"https://api.github.com/users/keanolane/orgs","repos_url":"https://api.github.com/users/keanolane/repos","events_url":"https://api.github.com/users/keanolane/events{/privacy}","received_events_url":"https://api.github.com/users/keanolane/received_events","type":"User","site_admin":false},"body":"but afair it's installed in homestead already","created_at":"2017-06-19T08:43:24Z","updated_at":"2017-06-19T08:43:24Z","html_url":"https://github.com/Pod-Point/homestead/pull/1#discussion_r122650224","pull_request_url":"https://api.github.com/repos/Pod-Point/homestead/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/Pod-Point/homestead/pulls/comments/122650224"},"html":{"href":"https://github.com/Pod-Point/homestead/pull/1#discussion_r122650224"},"pull_request":{"href":"https://api.github.com/repos/Pod-Point/homestead/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/Pod-Point/homestead/pulls/1","id":126164133,"html_url":"https://github.com/Pod-Point/homestead/pull/1","diff_url":"https://github.com/Pod-Point/homestead/pull/1.diff","patch_url":"https://github.com/Pod-Point/homestead/pull/1.patch","issue_url":"https://api.github.com/repos/Pod-Point/homestead/issues/1","number":1,"state":"open","locked":false,"title":"Custom stack with ElasticSearch + custom file provisioning","user":{"login":"keanolane","id":10220184,"avatar_url":"https://avatars2.githubusercontent.com/u/10220184?v=3","gravatar_id":"","url":"https://api.github.com/users/keanolane","html_url":"https://github.com/keanolane","followers_url":"https://api.github.com/users/keanolane/followers","following_url":"https://api.github.com/users/keanolane/following{/other_user}","gists_url":"https://api.github.com/users/keanolane/gists{/gist_id}","starred_url":"https://api.github.com/users/keanolane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keanolane/subscriptions","organizations_url":"https://api.github.com/users/keanolane/orgs","repos_url":"https://api.github.com/users/keanolane/repos","events_url":"https://api.github.com/users/keanolane/events{/privacy}","received_events_url":"https://api.github.com/users/keanolane/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-17T18:39:16Z","updated_at":"2017-06-19T08:43:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f86a5157f3b4a07e63f686d38cd0bd7a24cb4823","assignee":{"login":"threesquared","id":892142,"avatar_url":"https://avatars0.githubusercontent.com/u/892142?v=3","gravatar_id":"","url":"https://api.github.com/users/threesquared","html_url":"https://github.com/threesquared","followers_url":"https://api.github.com/users/threesquared/followers","following_url":"https://api.github.com/users/threesquared/following{/other_user}","gists_url":"https://api.github.com/users/threesquared/gists{/gist_id}","starred_url":"https://api.github.com/users/threesquared/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threesquared/subscriptions","organizations_url":"https://api.github.com/users/threesquared/orgs","repos_url":"https://api.github.com/users/threesquared/repos","events_url":"https://api.github.com/users/threesquared/events{/privacy}","received_events_url":"https://api.github.com/users/threesquared/received_events","type":"User","site_admin":false},"assignees":[{"login":"threesquared","id":892142,"avatar_url":"https://avatars0.githubusercontent.com/u/892142?v=3","gravatar_id":"","url":"https://api.github.com/users/threesquared","html_url":"https://github.com/threesquared","followers_url":"https://api.github.com/users/threesquared/followers","following_url":"https://api.github.com/users/threesquared/following{/other_user}","gists_url":"https://api.github.com/users/threesquared/gists{/gist_id}","starred_url":"https://api.github.com/users/threesquared/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/threesquared/subscriptions","organizations_url":"https://api.github.com/users/threesquared/orgs","repos_url":"https://api.github.com/users/threesquared/repos","events_url":"https://api.github.com/users/threesquared/events{/privacy}","received_events_url":"https://api.github.com/users/threesquared/received_events","type":"User","site_admin":false},{"login":"mikefrancis","id":1672610,"avatar_url":"https://avatars0.githubusercontent.com/u/1672610?v=3","gravatar_id":"","url":"https://api.github.com/users/mikefrancis","html_url":"https://github.com/mikefrancis","followers_url":"https://api.github.com/users/mikefrancis/followers","following_url":"https://api.github.com/users/mikefrancis/following{/other_user}","gists_url":"https://api.github.com/users/mikefrancis/gists{/gist_id}","starred_url":"https://api.github.com/users/mikefrancis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikefrancis/subscriptions","organizations_url":"https://api.github.com/users/mikefrancis/orgs","repos_url":"https://api.github.com/users/mikefrancis/repos","events_url":"https://api.github.com/users/mikefrancis/events{/privacy}","received_events_url":"https://api.github.com/users/mikefrancis/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/Pod-Point/homestead/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Pod-Point/homestead/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Pod-Point/homestead/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Pod-Point/homestead/issues/1/comments","statuses_url":"https://api.github.com/repos/Pod-Point/homestead/statuses/298f7052c4401125bba838e308bf46b9dab5dab0","head":{"label":"Pod-Point:keano-dependencies-inclusion","ref":"keano-dependencies-inclusion","sha":"298f7052c4401125bba838e308bf46b9dab5dab0","user":{"login":"Pod-Point","id":5739552,"avatar_url":"https://avatars1.githubusercontent.com/u/5739552?v=3","gravatar_id":"","url":"https://api.github.com/users/Pod-Point","html_url":"https://github.com/Pod-Point","followers_url":"https://api.github.com/users/Pod-Point/followers","following_url":"https://api.github.com/users/Pod-Point/following{/other_user}","gists_url":"https://api.github.com/users/Pod-Point/gists{/gist_id}","starred_url":"https://api.github.com/users/Pod-Point/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pod-Point/subscriptions","organizations_url":"https://api.github.com/users/Pod-Point/orgs","repos_url":"https://api.github.com/users/Pod-Point/repos","events_url":"https://api.github.com/users/Pod-Point/events{/privacy}","received_events_url":"https://api.github.com/users/Pod-Point/received_events","type":"Organization","site_admin":false},"repo":{"id":94543948,"name":"homestead","full_name":"Pod-Point/homestead","owner":{"login":"Pod-Point","id":5739552,"avatar_url":"https://avatars1.githubusercontent.com/u/5739552?v=3","gravatar_id":"","url":"https://api.github.com/users/Pod-Point","html_url":"https://github.com/Pod-Point","followers_url":"https://api.github.com/users/Pod-Point/followers","following_url":"https://api.github.com/users/Pod-Point/following{/other_user}","gists_url":"https://api.github.com/users/Pod-Point/gists{/gist_id}","starred_url":"https://api.github.com/users/Pod-Point/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pod-Point/subscriptions","organizations_url":"https://api.github.com/users/Pod-Point/orgs","repos_url":"https://api.github.com/users/Pod-Point/repos","events_url":"https://api.github.com/users/Pod-Point/events{/privacy}","received_events_url":"https://api.github.com/users/Pod-Point/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Pod-Point/homestead","description":null,"fork":true,"url":"https://api.github.com/repos/Pod-Point/homestead","forks_url":"https://api.github.com/repos/Pod-Point/homestead/forks","keys_url":"https://api.github.com/repos/Pod-Point/homestead/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Pod-Point/homestead/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Pod-Point/homestead/teams","hooks_url":"https://api.github.com/repos/Pod-Point/homestead/hooks","issue_events_url":"https://api.github.com/repos/Pod-Point/homestead/issues/events{/number}","events_url":"https://api.github.com/repos/Pod-Point/homestead/events","assignees_url":"https://api.github.com/repos/Pod-Point/homestead/assignees{/user}","branches_url":"https://api.github.com/repos/Pod-Point/homestead/branches{/branch}","tags_url":"https://api.github.com/repos/Pod-Point/homestead/tags","blobs_url":"https://api.github.com/repos/Pod-Point/homestead/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Pod-Point/homestead/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Pod-Point/homestead/git/refs{/sha}","trees_url":"https://api.github.com/repos/Pod-Point/homestead/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Pod-Point/homestead/statuses/{sha}","languages_url":"https://api.github.com/repos/Pod-Point/homestead/languages","stargazers_url":"https://api.github.com/repos/Pod-Point/homestead/stargazers","contributors_url":"https://api.github.com/repos/Pod-Point/homestead/contributors","subscribers_url":"https://api.github.com/repos/Pod-Point/homestead/subscribers","subscription_url":"https://api.github.com/repos/Pod-Point/homestead/subscription","commits_url":"https://api.github.com/repos/Pod-Point/homestead/commits{/sha}","git_commits_url":"https://api.github.com/repos/Pod-Point/homestead/git/commits{/sha}","comments_url":"https://api.github.com/repos/Pod-Point/homestead/comments{/number}","issue_comment_url":"https://api.github.com/repos/Pod-Point/homestead/issues/comments{/number}","contents_url":"https://api.github.com/repos/Pod-Point/homestead/contents/{+path}","compare_url":"https://api.github.com/repos/Pod-Point/homestead/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Pod-Point/homestead/merges","archive_url":"https://api.github.com/repos/Pod-Point/homestead/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Pod-Point/homestead/downloads","issues_url":"https://api.github.com/repos/Pod-Point/homestead/issues{/number}","pulls_url":"https://api.github.com/repos/Pod-Point/homestead/pulls{/number}","milestones_url":"https://api.github.com/repos/Pod-Point/homestead/milestones{/number}","notifications_url":"https://api.github.com/repos/Pod-Point/homestead/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Pod-Point/homestead/labels{/name}","releases_url":"https://api.github.com/repos/Pod-Point/homestead/releases{/id}","deployments_url":"https://api.github.com/repos/Pod-Point/homestead/deployments","created_at":"2017-06-16T12:57:12Z","updated_at":"2017-06-16T12:57:14Z","pushed_at":"2017-06-17T19:02:27Z","git_url":"git://github.com/Pod-Point/homestead.git","ssh_url":"git@github.com:Pod-Point/homestead.git","clone_url":"https://github.com/Pod-Point/homestead.git","svn_url":"https://github.com/Pod-Point/homestead","homepage":"","size":440,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Pod-Point:master","ref":"master","sha":"f54a9f0b6a0de85c96d5e82fd94a563d979f8288","user":{"login":"Pod-Point","id":5739552,"avatar_url":"https://avatars1.githubusercontent.com/u/5739552?v=3","gravatar_id":"","url":"https://api.github.com/users/Pod-Point","html_url":"https://github.com/Pod-Point","followers_url":"https://api.github.com/users/Pod-Point/followers","following_url":"https://api.github.com/users/Pod-Point/following{/other_user}","gists_url":"https://api.github.com/users/Pod-Point/gists{/gist_id}","starred_url":"https://api.github.com/users/Pod-Point/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pod-Point/subscriptions","organizations_url":"https://api.github.com/users/Pod-Point/orgs","repos_url":"https://api.github.com/users/Pod-Point/repos","events_url":"https://api.github.com/users/Pod-Point/events{/privacy}","received_events_url":"https://api.github.com/users/Pod-Point/received_events","type":"Organization","site_admin":false},"repo":{"id":94543948,"name":"homestead","full_name":"Pod-Point/homestead","owner":{"login":"Pod-Point","id":5739552,"avatar_url":"https://avatars1.githubusercontent.com/u/5739552?v=3","gravatar_id":"","url":"https://api.github.com/users/Pod-Point","html_url":"https://github.com/Pod-Point","followers_url":"https://api.github.com/users/Pod-Point/followers","following_url":"https://api.github.com/users/Pod-Point/following{/other_user}","gists_url":"https://api.github.com/users/Pod-Point/gists{/gist_id}","starred_url":"https://api.github.com/users/Pod-Point/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pod-Point/subscriptions","organizations_url":"https://api.github.com/users/Pod-Point/orgs","repos_url":"https://api.github.com/users/Pod-Point/repos","events_url":"https://api.github.com/users/Pod-Point/events{/privacy}","received_events_url":"https://api.github.com/users/Pod-Point/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Pod-Point/homestead","description":null,"fork":true,"url":"https://api.github.com/repos/Pod-Point/homestead","forks_url":"https://api.github.com/repos/Pod-Point/homestead/forks","keys_url":"https://api.github.com/repos/Pod-Point/homestead/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Pod-Point/homestead/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Pod-Point/homestead/teams","hooks_url":"https://api.github.com/repos/Pod-Point/homestead/hooks","issue_events_url":"https://api.github.com/repos/Pod-Point/homestead/issues/events{/number}","events_url":"https://api.github.com/repos/Pod-Point/homestead/events","assignees_url":"https://api.github.com/repos/Pod-Point/homestead/assignees{/user}","branches_url":"https://api.github.com/repos/Pod-Point/homestead/branches{/branch}","tags_url":"https://api.github.com/repos/Pod-Point/homestead/tags","blobs_url":"https://api.github.com/repos/Pod-Point/homestead/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Pod-Point/homestead/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Pod-Point/homestead/git/refs{/sha}","trees_url":"https://api.github.com/repos/Pod-Point/homestead/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Pod-Point/homestead/statuses/{sha}","languages_url":"https://api.github.com/repos/Pod-Point/homestead/languages","stargazers_url":"https://api.github.com/repos/Pod-Point/homestead/stargazers","contributors_url":"https://api.github.com/repos/Pod-Point/homestead/contributors","subscribers_url":"https://api.github.com/repos/Pod-Point/homestead/subscribers","subscription_url":"https://api.github.com/repos/Pod-Point/homestead/subscription","commits_url":"https://api.github.com/repos/Pod-Point/homestead/commits{/sha}","git_commits_url":"https://api.github.com/repos/Pod-Point/homestead/git/commits{/sha}","comments_url":"https://api.github.com/repos/Pod-Point/homestead/comments{/number}","issue_comment_url":"https://api.github.com/repos/Pod-Point/homestead/issues/comments{/number}","contents_url":"https://api.github.com/repos/Pod-Point/homestead/contents/{+path}","compare_url":"https://api.github.com/repos/Pod-Point/homestead/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Pod-Point/homestead/merges","archive_url":"https://api.github.com/repos/Pod-Point/homestead/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Pod-Point/homestead/downloads","issues_url":"https://api.github.com/repos/Pod-Point/homestead/issues{/number}","pulls_url":"https://api.github.com/repos/Pod-Point/homestead/pulls{/number}","milestones_url":"https://api.github.com/repos/Pod-Point/homestead/milestones{/number}","notifications_url":"https://api.github.com/repos/Pod-Point/homestead/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Pod-Point/homestead/labels{/name}","releases_url":"https://api.github.com/repos/Pod-Point/homestead/releases{/id}","deployments_url":"https://api.github.com/repos/Pod-Point/homestead/deployments","created_at":"2017-06-16T12:57:12Z","updated_at":"2017-06-16T12:57:14Z","pushed_at":"2017-06-17T19:02:27Z","git_url":"git://github.com/Pod-Point/homestead.git","ssh_url":"git@github.com:Pod-Point/homestead.git","clone_url":"https://github.com/Pod-Point/homestead.git","svn_url":"https://github.com/Pod-Point/homestead","homepage":"","size":440,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Pod-Point/homestead/pulls/1"},"html":{"href":"https://github.com/Pod-Point/homestead/pull/1"},"issue":{"href":"https://api.github.com/repos/Pod-Point/homestead/issues/1"},"comments":{"href":"https://api.github.com/repos/Pod-Point/homestead/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Pod-Point/homestead/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Pod-Point/homestead/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Pod-Point/homestead/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Pod-Point/homestead/statuses/298f7052c4401125bba838e308bf46b9dab5dab0"}}}}
{"actor":{"display_login":"keanolane"}}