{"action":"opened","number":5,"pull_request":{"url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/pulls/5","id":42777432,"html_url":"https://github.com/railsmachine/moonshine_xsendfile/pull/5","diff_url":"https://github.com/railsmachine/moonshine_xsendfile/pull/5.diff","patch_url":"https://github.com/railsmachine/moonshine_xsendfile/pull/5.patch","issue_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/issues/5","number":5,"state":"open","locked":false,"title":"Ensure /etc/apache2 exists before trying to create files there","user":{"login":"mhaylock","id":673828,"avatar_url":"https://avatars.githubusercontent.com/u/673828?v=3","gravatar_id":"","url":"https://api.github.com/users/mhaylock","html_url":"https://github.com/mhaylock","followers_url":"https://api.github.com/users/mhaylock/followers","following_url":"https://api.github.com/users/mhaylock/following{/other_user}","gists_url":"https://api.github.com/users/mhaylock/gists{/gist_id}","starred_url":"https://api.github.com/users/mhaylock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhaylock/subscriptions","organizations_url":"https://api.github.com/users/mhaylock/orgs","repos_url":"https://api.github.com/users/mhaylock/repos","events_url":"https://api.github.com/users/mhaylock/events{/privacy}","received_events_url":"https://api.github.com/users/mhaylock/received_events","type":"User","site_admin":false},"body":"Without this change this plugin can fail to work during a clean run of `deploy:cold` due to it trying to install xsendfile before apache is installed.\r\n\r\nIt appears the /etc/apache2 directory doesn't exist until `package(\"apache2-mpm-worker\")` is installed, so I've added this as a dependency. This is modelled of [the way passenger is defined](https://github.com/railsmachine/moonshine/blob/master/lib/moonshine/manifest/rails/passenger.rb#L107-L108) in the main moonshine repo.","created_at":"2015-08-19T05:10:21Z","updated_at":"2015-08-19T05:10:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"09f5e4d863131337fb0f2cd4c51c542b56304bdf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/pulls/5/commits","review_comments_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/pulls/5/comments","review_comment_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/pulls/comments{/number}","comments_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/issues/5/comments","statuses_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/statuses/87479f24954034cf74a34142633640ef9d0b9fe6","head":{"label":"resolve:ensure_apache_is_installed_first","ref":"ensure_apache_is_installed_first","sha":"87479f24954034cf74a34142633640ef9d0b9fe6","user":{"login":"resolve","id":15050,"avatar_url":"https://avatars.githubusercontent.com/u/15050?v=3","gravatar_id":"","url":"https://api.github.com/users/resolve","html_url":"https://github.com/resolve","followers_url":"https://api.github.com/users/resolve/followers","following_url":"https://api.github.com/users/resolve/following{/other_user}","gists_url":"https://api.github.com/users/resolve/gists{/gist_id}","starred_url":"https://api.github.com/users/resolve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resolve/subscriptions","organizations_url":"https://api.github.com/users/resolve/orgs","repos_url":"https://api.github.com/users/resolve/repos","events_url":"https://api.github.com/users/resolve/events{/privacy}","received_events_url":"https://api.github.com/users/resolve/received_events","type":"Organization","site_admin":false},"repo":{"id":41012851,"name":"moonshine_xsendfile","full_name":"resolve/moonshine_xsendfile","owner":{"login":"resolve","id":15050,"avatar_url":"https://avatars.githubusercontent.com/u/15050?v=3","gravatar_id":"","url":"https://api.github.com/users/resolve","html_url":"https://github.com/resolve","followers_url":"https://api.github.com/users/resolve/followers","following_url":"https://api.github.com/users/resolve/following{/other_user}","gists_url":"https://api.github.com/users/resolve/gists{/gist_id}","starred_url":"https://api.github.com/users/resolve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resolve/subscriptions","organizations_url":"https://api.github.com/users/resolve/orgs","repos_url":"https://api.github.com/users/resolve/repos","events_url":"https://api.github.com/users/resolve/events{/privacy}","received_events_url":"https://api.github.com/users/resolve/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resolve/moonshine_xsendfile","description":"Install and configure mod_xsendfile","fork":true,"url":"https://api.github.com/repos/resolve/moonshine_xsendfile","forks_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/forks","keys_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/teams","hooks_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/hooks","issue_events_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/issues/events{/number}","events_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/events","assignees_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/assignees{/user}","branches_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/branches{/branch}","tags_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/tags","blobs_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/git/refs{/sha}","trees_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/statuses/{sha}","languages_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/languages","stargazers_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/stargazers","contributors_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/contributors","subscribers_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/subscribers","subscription_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/subscription","commits_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/commits{/sha}","git_commits_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/git/commits{/sha}","comments_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/comments{/number}","issue_comment_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/issues/comments{/number}","contents_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/contents/{+path}","compare_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/merges","archive_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/downloads","issues_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/issues{/number}","pulls_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/pulls{/number}","milestones_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/milestones{/number}","notifications_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/labels{/name}","releases_url":"https://api.github.com/repos/resolve/moonshine_xsendfile/releases{/id}","created_at":"2015-08-19T04:14:29Z","updated_at":"2015-08-19T04:14:29Z","pushed_at":"2015-08-19T04:38:37Z","git_url":"git://github.com/resolve/moonshine_xsendfile.git","ssh_url":"git@github.com:resolve/moonshine_xsendfile.git","clone_url":"https://github.com/resolve/moonshine_xsendfile.git","svn_url":"https://github.com/resolve/moonshine_xsendfile","homepage":"","size":138,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"railsmachine:master","ref":"master","sha":"bf853c00ceb57e10e9e41b04b8dd1ac89a78e6ca","user":{"login":"railsmachine","id":4497,"avatar_url":"https://avatars.githubusercontent.com/u/4497?v=3","gravatar_id":"","url":"https://api.github.com/users/railsmachine","html_url":"https://github.com/railsmachine","followers_url":"https://api.github.com/users/railsmachine/followers","following_url":"https://api.github.com/users/railsmachine/following{/other_user}","gists_url":"https://api.github.com/users/railsmachine/gists{/gist_id}","starred_url":"https://api.github.com/users/railsmachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/railsmachine/subscriptions","organizations_url":"https://api.github.com/users/railsmachine/orgs","repos_url":"https://api.github.com/users/railsmachine/repos","events_url":"https://api.github.com/users/railsmachine/events{/privacy}","received_events_url":"https://api.github.com/users/railsmachine/received_events","type":"Organization","site_admin":false},"repo":{"id":205408,"name":"moonshine_xsendfile","full_name":"railsmachine/moonshine_xsendfile","owner":{"login":"railsmachine","id":4497,"avatar_url":"https://avatars.githubusercontent.com/u/4497?v=3","gravatar_id":"","url":"https://api.github.com/users/railsmachine","html_url":"https://github.com/railsmachine","followers_url":"https://api.github.com/users/railsmachine/followers","following_url":"https://api.github.com/users/railsmachine/following{/other_user}","gists_url":"https://api.github.com/users/railsmachine/gists{/gist_id}","starred_url":"https://api.github.com/users/railsmachine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/railsmachine/subscriptions","organizations_url":"https://api.github.com/users/railsmachine/orgs","repos_url":"https://api.github.com/users/railsmachine/repos","events_url":"https://api.github.com/users/railsmachine/events{/privacy}","received_events_url":"https://api.github.com/users/railsmachine/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/railsmachine/moonshine_xsendfile","description":"Install and configure mod_xsendfile","fork":false,"url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile","forks_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/forks","keys_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/keys{/key_id}","collaborators_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/teams","hooks_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/hooks","issue_events_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/issues/events{/number}","events_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/events","assignees_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/assignees{/user}","branches_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/branches{/branch}","tags_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/tags","blobs_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/git/refs{/sha}","trees_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/git/trees{/sha}","statuses_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/statuses/{sha}","languages_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/languages","stargazers_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/stargazers","contributors_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/contributors","subscribers_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/subscribers","subscription_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/subscription","commits_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/commits{/sha}","git_commits_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/git/commits{/sha}","comments_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/comments{/number}","issue_comment_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/issues/comments{/number}","contents_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/contents/{+path}","compare_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/compare/{base}...{head}","merges_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/merges","archive_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/downloads","issues_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/issues{/number}","pulls_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/pulls{/number}","milestones_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/milestones{/number}","notifications_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/labels{/name}","releases_url":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/releases{/id}","created_at":"2009-05-20T01:54:30Z","updated_at":"2015-08-16T21:19:51Z","pushed_at":"2015-08-19T05:10:21Z","git_url":"git://github.com/railsmachine/moonshine_xsendfile.git","ssh_url":"git@github.com:railsmachine/moonshine_xsendfile.git","clone_url":"https://github.com/railsmachine/moonshine_xsendfile.git","svn_url":"https://github.com/railsmachine/moonshine_xsendfile","homepage":"","size":138,"stargazers_count":3,"watchers_count":3,"language":"Ruby","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":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/pulls/5"},"html":{"href":"https://github.com/railsmachine/moonshine_xsendfile/pull/5"},"issue":{"href":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/issues/5"},"comments":{"href":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/railsmachine/moonshine_xsendfile/statuses/87479f24954034cf74a34142633640ef9d0b9fe6"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":3,"changed_files":1}}