{"action":"created","comment":{"url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/pulls/comments/24075727","id":24075727,"diff_hunk":"@@ -0,0 +1,53 @@\n+#!/usr/bin/env bash\n+\n+PUPPET_REPO_DIR=$1\n+PUPPET_HIERA=$2\n+PUPPET_ENV=$3\n+MANUALRUN_PREFIX=$4\n+\n+cd ${PUPPET_REPO_DIR}\n+\n+# Install cURL\n+which curl\n+STATUS_CODE=$?\n+if [ $STATUS_CODE -ne 0 ] ; then\n+    echo \"Installing curl\"\n+    apt-get -y install curl\n+fi\n+\n+# Enable multiverse repositories\n+echo \"Enable multiverse repositories\"\n+sed -i \"/^# deb.*multiverse/ s/^# //\" /etc/apt/sources.list\n+#apt-get update","path":"provisioning/common.sh","position":21,"original_position":21,"commit_id":"aa8104c72ad364b54259345b6846f66bcdf27676","original_commit_id":"aa8104c72ad364b54259345b6846f66bcdf27676","user":{"login":"Coenego","id":2194396,"avatar_url":"https://avatars.githubusercontent.com/u/2194396?v=3","gravatar_id":"","url":"https://api.github.com/users/Coenego","html_url":"https://github.com/Coenego","followers_url":"https://api.github.com/users/Coenego/followers","following_url":"https://api.github.com/users/Coenego/following{/other_user}","gists_url":"https://api.github.com/users/Coenego/gists{/gist_id}","starred_url":"https://api.github.com/users/Coenego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coenego/subscriptions","organizations_url":"https://api.github.com/users/Coenego/orgs","repos_url":"https://api.github.com/users/Coenego/repos","events_url":"https://api.github.com/users/Coenego/events{/privacy}","received_events_url":"https://api.github.com/users/Coenego/received_events","type":"User","site_admin":false},"body":"If we're not executing this, it can probably go","created_at":"2015-02-04T11:00:05Z","updated_at":"2015-02-04T11:00:05Z","html_url":"https://github.com/CUL-DigitalServices/grasshopper-puppet/pull/3#discussion_r24075727","pull_request_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/pulls/comments/24075727"},"html":{"href":"https://github.com/CUL-DigitalServices/grasshopper-puppet/pull/3#discussion_r24075727"},"pull_request":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/pulls/3","id":28573056,"html_url":"https://github.com/CUL-DigitalServices/grasshopper-puppet/pull/3","diff_url":"https://github.com/CUL-DigitalServices/grasshopper-puppet/pull/3.diff","patch_url":"https://github.com/CUL-DigitalServices/grasshopper-puppet/pull/3.patch","issue_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/issues/3","number":3,"state":"open","locked":false,"title":"Minimum working for dev server","user":{"login":"ucamrc","id":9320818,"avatar_url":"https://avatars.githubusercontent.com/u/9320818?v=3","gravatar_id":"","url":"https://api.github.com/users/ucamrc","html_url":"https://github.com/ucamrc","followers_url":"https://api.github.com/users/ucamrc/followers","following_url":"https://api.github.com/users/ucamrc/following{/other_user}","gists_url":"https://api.github.com/users/ucamrc/gists{/gist_id}","starred_url":"https://api.github.com/users/ucamrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucamrc/subscriptions","organizations_url":"https://api.github.com/users/ucamrc/orgs","repos_url":"https://api.github.com/users/ucamrc/repos","events_url":"https://api.github.com/users/ucamrc/events{/privacy}","received_events_url":"https://api.github.com/users/ucamrc/received_events","type":"User","site_admin":false},"body":"(For the record this branch has been tested on EC2 (m3.medium / HVM / SSD) and the core provisioning time is less than 10 minutes! However, the remaining \"non-core\" time is spent importing timetable data, you need to add that as extra time to get the total time and I have been testing with a reduced dataset; tomorrow I will benchmark how long it takes to import the full dataset.)\r\n","created_at":"2015-02-03T17:46:41Z","updated_at":"2015-02-04T11:00:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4495d1fa23e2897b106965aae81cf2a5162a4ec8","assignee":{"login":"Coenego","id":2194396,"avatar_url":"https://avatars.githubusercontent.com/u/2194396?v=3","gravatar_id":"","url":"https://api.github.com/users/Coenego","html_url":"https://github.com/Coenego","followers_url":"https://api.github.com/users/Coenego/followers","following_url":"https://api.github.com/users/Coenego/following{/other_user}","gists_url":"https://api.github.com/users/Coenego/gists{/gist_id}","starred_url":"https://api.github.com/users/Coenego/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coenego/subscriptions","organizations_url":"https://api.github.com/users/Coenego/orgs","repos_url":"https://api.github.com/users/Coenego/repos","events_url":"https://api.github.com/users/Coenego/events{/privacy}","received_events_url":"https://api.github.com/users/Coenego/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/pulls/3/commits","review_comments_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/pulls/3/comments","review_comment_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/pulls/comments/{number}","comments_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/issues/3/comments","statuses_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/statuses/aa8104c72ad364b54259345b6846f66bcdf27676","head":{"label":"ucamrc:minimum-working","ref":"minimum-working","sha":"aa8104c72ad364b54259345b6846f66bcdf27676","user":{"login":"ucamrc","id":9320818,"avatar_url":"https://avatars.githubusercontent.com/u/9320818?v=3","gravatar_id":"","url":"https://api.github.com/users/ucamrc","html_url":"https://github.com/ucamrc","followers_url":"https://api.github.com/users/ucamrc/followers","following_url":"https://api.github.com/users/ucamrc/following{/other_user}","gists_url":"https://api.github.com/users/ucamrc/gists{/gist_id}","starred_url":"https://api.github.com/users/ucamrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucamrc/subscriptions","organizations_url":"https://api.github.com/users/ucamrc/orgs","repos_url":"https://api.github.com/users/ucamrc/repos","events_url":"https://api.github.com/users/ucamrc/events{/privacy}","received_events_url":"https://api.github.com/users/ucamrc/received_events","type":"User","site_admin":false},"repo":{"id":29536000,"name":"grasshopper-puppet","full_name":"ucamrc/grasshopper-puppet","owner":{"login":"ucamrc","id":9320818,"avatar_url":"https://avatars.githubusercontent.com/u/9320818?v=3","gravatar_id":"","url":"https://api.github.com/users/ucamrc","html_url":"https://github.com/ucamrc","followers_url":"https://api.github.com/users/ucamrc/followers","following_url":"https://api.github.com/users/ucamrc/following{/other_user}","gists_url":"https://api.github.com/users/ucamrc/gists{/gist_id}","starred_url":"https://api.github.com/users/ucamrc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucamrc/subscriptions","organizations_url":"https://api.github.com/users/ucamrc/orgs","repos_url":"https://api.github.com/users/ucamrc/repos","events_url":"https://api.github.com/users/ucamrc/events{/privacy}","received_events_url":"https://api.github.com/users/ucamrc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ucamrc/grasshopper-puppet","description":"Grasshopper Puppet scripts","fork":true,"url":"https://api.github.com/repos/ucamrc/grasshopper-puppet","forks_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/forks","keys_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/teams","hooks_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/hooks","issue_events_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/issues/events{/number}","events_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/events","assignees_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/assignees{/user}","branches_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/branches{/branch}","tags_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/tags","blobs_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/languages","stargazers_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/stargazers","contributors_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/contributors","subscribers_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/subscribers","subscription_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/subscription","commits_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/issues/comments/{number}","contents_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/contents/{+path}","compare_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/merges","archive_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/downloads","issues_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/issues{/number}","pulls_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/labels{/name}","releases_url":"https://api.github.com/repos/ucamrc/grasshopper-puppet/releases{/id}","created_at":"2015-01-20T15:16:57Z","updated_at":"2015-01-20T17:18:10Z","pushed_at":"2015-02-03T17:14:51Z","git_url":"git://github.com/ucamrc/grasshopper-puppet.git","ssh_url":"git@github.com:ucamrc/grasshopper-puppet.git","clone_url":"https://github.com/ucamrc/grasshopper-puppet.git","svn_url":"https://github.com/ucamrc/grasshopper-puppet","homepage":null,"size":165,"stargazers_count":0,"watchers_count":0,"language":"Puppet","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":"CUL-DigitalServices:master","ref":"master","sha":"1164e3bc7f83207762fa19d8913caa5b4ce194bc","user":{"login":"CUL-DigitalServices","id":5594563,"avatar_url":"https://avatars.githubusercontent.com/u/5594563?v=3","gravatar_id":"","url":"https://api.github.com/users/CUL-DigitalServices","html_url":"https://github.com/CUL-DigitalServices","followers_url":"https://api.github.com/users/CUL-DigitalServices/followers","following_url":"https://api.github.com/users/CUL-DigitalServices/following{/other_user}","gists_url":"https://api.github.com/users/CUL-DigitalServices/gists{/gist_id}","starred_url":"https://api.github.com/users/CUL-DigitalServices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CUL-DigitalServices/subscriptions","organizations_url":"https://api.github.com/users/CUL-DigitalServices/orgs","repos_url":"https://api.github.com/users/CUL-DigitalServices/repos","events_url":"https://api.github.com/users/CUL-DigitalServices/events{/privacy}","received_events_url":"https://api.github.com/users/CUL-DigitalServices/received_events","type":"Organization","site_admin":false},"repo":{"id":28180162,"name":"grasshopper-puppet","full_name":"CUL-DigitalServices/grasshopper-puppet","owner":{"login":"CUL-DigitalServices","id":5594563,"avatar_url":"https://avatars.githubusercontent.com/u/5594563?v=3","gravatar_id":"","url":"https://api.github.com/users/CUL-DigitalServices","html_url":"https://github.com/CUL-DigitalServices","followers_url":"https://api.github.com/users/CUL-DigitalServices/followers","following_url":"https://api.github.com/users/CUL-DigitalServices/following{/other_user}","gists_url":"https://api.github.com/users/CUL-DigitalServices/gists{/gist_id}","starred_url":"https://api.github.com/users/CUL-DigitalServices/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CUL-DigitalServices/subscriptions","organizations_url":"https://api.github.com/users/CUL-DigitalServices/orgs","repos_url":"https://api.github.com/users/CUL-DigitalServices/repos","events_url":"https://api.github.com/users/CUL-DigitalServices/events{/privacy}","received_events_url":"https://api.github.com/users/CUL-DigitalServices/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CUL-DigitalServices/grasshopper-puppet","description":"Grasshopper Puppet scripts","fork":false,"url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet","forks_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/forks","keys_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/teams","hooks_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/hooks","issue_events_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/issues/events{/number}","events_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/events","assignees_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/assignees{/user}","branches_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/branches{/branch}","tags_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/tags","blobs_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/languages","stargazers_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/stargazers","contributors_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/contributors","subscribers_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/subscribers","subscription_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/subscription","commits_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/issues/comments/{number}","contents_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/contents/{+path}","compare_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/merges","archive_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/downloads","issues_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/issues{/number}","pulls_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/labels{/name}","releases_url":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/releases{/id}","created_at":"2014-12-18T11:05:16Z","updated_at":"2015-01-20T14:41:59Z","pushed_at":"2015-01-20T14:41:59Z","git_url":"git://github.com/CUL-DigitalServices/grasshopper-puppet.git","ssh_url":"git@github.com:CUL-DigitalServices/grasshopper-puppet.git","clone_url":"https://github.com/CUL-DigitalServices/grasshopper-puppet.git","svn_url":"https://github.com/CUL-DigitalServices/grasshopper-puppet","homepage":null,"size":204,"stargazers_count":0,"watchers_count":0,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/pulls/3"},"html":{"href":"https://github.com/CUL-DigitalServices/grasshopper-puppet/pull/3"},"issue":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/issues/3"},"comments":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/CUL-DigitalServices/grasshopper-puppet/statuses/aa8104c72ad364b54259345b6846f66bcdf27676"}}}}