{"action":"opened","number":229,"pull_request":{"url":"https://api.github.com/repos/dpla/automation/pulls/229","id":115788548,"html_url":"https://github.com/dpla/automation/pull/229","diff_url":"https://github.com/dpla/automation/pull/229.diff","patch_url":"https://github.com/dpla/automation/pull/229.patch","issue_url":"https://api.github.com/repos/dpla/automation/issues/229","number":229,"state":"open","locked":false,"title":"Two little fixes","user":{"login":"markbreedlove","id":5550828,"avatar_url":"https://avatars0.githubusercontent.com/u/5550828?v=3","gravatar_id":"","url":"https://api.github.com/users/markbreedlove","html_url":"https://github.com/markbreedlove","followers_url":"https://api.github.com/users/markbreedlove/followers","following_url":"https://api.github.com/users/markbreedlove/following{/other_user}","gists_url":"https://api.github.com/users/markbreedlove/gists{/gist_id}","starred_url":"https://api.github.com/users/markbreedlove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markbreedlove/subscriptions","organizations_url":"https://api.github.com/users/markbreedlove/orgs","repos_url":"https://api.github.com/users/markbreedlove/repos","events_url":"https://api.github.com/users/markbreedlove/events{/privacy}","received_events_url":"https://api.github.com/users/markbreedlove/received_events","type":"User","site_admin":false},"body":"Set Host HTTP header in site proxy NGINX configuration when the SSL site proxy is not behind a loadbalancer (`siteproxy_self_ssl`).  Otherwise, the Host ends up being `dpla_portal` because that's the name of the`upstream` specified by `proxy_pass`.\r\n\r\nAdd back the task in the `ec2_swapper` role that checks that the `/swap` directory exists. This was removed in 62631a563a30 with the assumption that a later `mount` task would ensure its existence; overlooking the fact that the `mount` task is not run on a t2 or m4 instance.\r\n\r\nThese two commits should not be squashed.\r\n","created_at":"2017-04-13T15:56:04Z","updated_at":"2017-04-13T15:56:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/dpla/automation/pulls/229/commits","review_comments_url":"https://api.github.com/repos/dpla/automation/pulls/229/comments","review_comment_url":"https://api.github.com/repos/dpla/automation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dpla/automation/issues/229/comments","statuses_url":"https://api.github.com/repos/dpla/automation/statuses/facf29b42244753b02bb00b2a91992c811c3b2d1","head":{"label":"dpla:two-little-fixes-20140413","ref":"two-little-fixes-20140413","sha":"facf29b42244753b02bb00b2a91992c811c3b2d1","user":{"login":"dpla","id":1252916,"avatar_url":"https://avatars1.githubusercontent.com/u/1252916?v=3","gravatar_id":"","url":"https://api.github.com/users/dpla","html_url":"https://github.com/dpla","followers_url":"https://api.github.com/users/dpla/followers","following_url":"https://api.github.com/users/dpla/following{/other_user}","gists_url":"https://api.github.com/users/dpla/gists{/gist_id}","starred_url":"https://api.github.com/users/dpla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpla/subscriptions","organizations_url":"https://api.github.com/users/dpla/orgs","repos_url":"https://api.github.com/users/dpla/repos","events_url":"https://api.github.com/users/dpla/events{/privacy}","received_events_url":"https://api.github.com/users/dpla/received_events","type":"Organization","site_admin":false},"repo":{"id":20342234,"name":"automation","full_name":"dpla/automation","owner":{"login":"dpla","id":1252916,"avatar_url":"https://avatars1.githubusercontent.com/u/1252916?v=3","gravatar_id":"","url":"https://api.github.com/users/dpla","html_url":"https://github.com/dpla","followers_url":"https://api.github.com/users/dpla/followers","following_url":"https://api.github.com/users/dpla/following{/other_user}","gists_url":"https://api.github.com/users/dpla/gists{/gist_id}","starred_url":"https://api.github.com/users/dpla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpla/subscriptions","organizations_url":"https://api.github.com/users/dpla/orgs","repos_url":"https://api.github.com/users/dpla/repos","events_url":"https://api.github.com/users/dpla/events{/privacy}","received_events_url":"https://api.github.com/users/dpla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dpla/automation","description":"For automated configuration management of DPLA servers","fork":false,"url":"https://api.github.com/repos/dpla/automation","forks_url":"https://api.github.com/repos/dpla/automation/forks","keys_url":"https://api.github.com/repos/dpla/automation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dpla/automation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dpla/automation/teams","hooks_url":"https://api.github.com/repos/dpla/automation/hooks","issue_events_url":"https://api.github.com/repos/dpla/automation/issues/events{/number}","events_url":"https://api.github.com/repos/dpla/automation/events","assignees_url":"https://api.github.com/repos/dpla/automation/assignees{/user}","branches_url":"https://api.github.com/repos/dpla/automation/branches{/branch}","tags_url":"https://api.github.com/repos/dpla/automation/tags","blobs_url":"https://api.github.com/repos/dpla/automation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dpla/automation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dpla/automation/git/refs{/sha}","trees_url":"https://api.github.com/repos/dpla/automation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dpla/automation/statuses/{sha}","languages_url":"https://api.github.com/repos/dpla/automation/languages","stargazers_url":"https://api.github.com/repos/dpla/automation/stargazers","contributors_url":"https://api.github.com/repos/dpla/automation/contributors","subscribers_url":"https://api.github.com/repos/dpla/automation/subscribers","subscription_url":"https://api.github.com/repos/dpla/automation/subscription","commits_url":"https://api.github.com/repos/dpla/automation/commits{/sha}","git_commits_url":"https://api.github.com/repos/dpla/automation/git/commits{/sha}","comments_url":"https://api.github.com/repos/dpla/automation/comments{/number}","issue_comment_url":"https://api.github.com/repos/dpla/automation/issues/comments{/number}","contents_url":"https://api.github.com/repos/dpla/automation/contents/{+path}","compare_url":"https://api.github.com/repos/dpla/automation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dpla/automation/merges","archive_url":"https://api.github.com/repos/dpla/automation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dpla/automation/downloads","issues_url":"https://api.github.com/repos/dpla/automation/issues{/number}","pulls_url":"https://api.github.com/repos/dpla/automation/pulls{/number}","milestones_url":"https://api.github.com/repos/dpla/automation/milestones{/number}","notifications_url":"https://api.github.com/repos/dpla/automation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dpla/automation/labels{/name}","releases_url":"https://api.github.com/repos/dpla/automation/releases{/id}","deployments_url":"https://api.github.com/repos/dpla/automation/deployments","created_at":"2014-05-30T20:56:02Z","updated_at":"2017-03-15T13:54:40Z","pushed_at":"2017-04-13T15:53:57Z","git_url":"git://github.com/dpla/automation.git","ssh_url":"git@github.com:dpla/automation.git","clone_url":"https://github.com/dpla/automation.git","svn_url":"https://github.com/dpla/automation","homepage":null,"size":864,"stargazers_count":7,"watchers_count":7,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":7,"default_branch":"develop"}},"base":{"label":"dpla:develop","ref":"develop","sha":"77b9f1c2031d1f475d4ac8f99e65b0f777f7ae04","user":{"login":"dpla","id":1252916,"avatar_url":"https://avatars1.githubusercontent.com/u/1252916?v=3","gravatar_id":"","url":"https://api.github.com/users/dpla","html_url":"https://github.com/dpla","followers_url":"https://api.github.com/users/dpla/followers","following_url":"https://api.github.com/users/dpla/following{/other_user}","gists_url":"https://api.github.com/users/dpla/gists{/gist_id}","starred_url":"https://api.github.com/users/dpla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpla/subscriptions","organizations_url":"https://api.github.com/users/dpla/orgs","repos_url":"https://api.github.com/users/dpla/repos","events_url":"https://api.github.com/users/dpla/events{/privacy}","received_events_url":"https://api.github.com/users/dpla/received_events","type":"Organization","site_admin":false},"repo":{"id":20342234,"name":"automation","full_name":"dpla/automation","owner":{"login":"dpla","id":1252916,"avatar_url":"https://avatars1.githubusercontent.com/u/1252916?v=3","gravatar_id":"","url":"https://api.github.com/users/dpla","html_url":"https://github.com/dpla","followers_url":"https://api.github.com/users/dpla/followers","following_url":"https://api.github.com/users/dpla/following{/other_user}","gists_url":"https://api.github.com/users/dpla/gists{/gist_id}","starred_url":"https://api.github.com/users/dpla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpla/subscriptions","organizations_url":"https://api.github.com/users/dpla/orgs","repos_url":"https://api.github.com/users/dpla/repos","events_url":"https://api.github.com/users/dpla/events{/privacy}","received_events_url":"https://api.github.com/users/dpla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dpla/automation","description":"For automated configuration management of DPLA servers","fork":false,"url":"https://api.github.com/repos/dpla/automation","forks_url":"https://api.github.com/repos/dpla/automation/forks","keys_url":"https://api.github.com/repos/dpla/automation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dpla/automation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dpla/automation/teams","hooks_url":"https://api.github.com/repos/dpla/automation/hooks","issue_events_url":"https://api.github.com/repos/dpla/automation/issues/events{/number}","events_url":"https://api.github.com/repos/dpla/automation/events","assignees_url":"https://api.github.com/repos/dpla/automation/assignees{/user}","branches_url":"https://api.github.com/repos/dpla/automation/branches{/branch}","tags_url":"https://api.github.com/repos/dpla/automation/tags","blobs_url":"https://api.github.com/repos/dpla/automation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dpla/automation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dpla/automation/git/refs{/sha}","trees_url":"https://api.github.com/repos/dpla/automation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dpla/automation/statuses/{sha}","languages_url":"https://api.github.com/repos/dpla/automation/languages","stargazers_url":"https://api.github.com/repos/dpla/automation/stargazers","contributors_url":"https://api.github.com/repos/dpla/automation/contributors","subscribers_url":"https://api.github.com/repos/dpla/automation/subscribers","subscription_url":"https://api.github.com/repos/dpla/automation/subscription","commits_url":"https://api.github.com/repos/dpla/automation/commits{/sha}","git_commits_url":"https://api.github.com/repos/dpla/automation/git/commits{/sha}","comments_url":"https://api.github.com/repos/dpla/automation/comments{/number}","issue_comment_url":"https://api.github.com/repos/dpla/automation/issues/comments{/number}","contents_url":"https://api.github.com/repos/dpla/automation/contents/{+path}","compare_url":"https://api.github.com/repos/dpla/automation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dpla/automation/merges","archive_url":"https://api.github.com/repos/dpla/automation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dpla/automation/downloads","issues_url":"https://api.github.com/repos/dpla/automation/issues{/number}","pulls_url":"https://api.github.com/repos/dpla/automation/pulls{/number}","milestones_url":"https://api.github.com/repos/dpla/automation/milestones{/number}","notifications_url":"https://api.github.com/repos/dpla/automation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dpla/automation/labels{/name}","releases_url":"https://api.github.com/repos/dpla/automation/releases{/id}","deployments_url":"https://api.github.com/repos/dpla/automation/deployments","created_at":"2014-05-30T20:56:02Z","updated_at":"2017-03-15T13:54:40Z","pushed_at":"2017-04-13T15:53:57Z","git_url":"git://github.com/dpla/automation.git","ssh_url":"git@github.com:dpla/automation.git","clone_url":"https://github.com/dpla/automation.git","svn_url":"https://github.com/dpla/automation","homepage":null,"size":864,"stargazers_count":7,"watchers_count":7,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":3,"forks":5,"open_issues":3,"watchers":7,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/dpla/automation/pulls/229"},"html":{"href":"https://github.com/dpla/automation/pull/229"},"issue":{"href":"https://api.github.com/repos/dpla/automation/issues/229"},"comments":{"href":"https://api.github.com/repos/dpla/automation/issues/229/comments"},"review_comments":{"href":"https://api.github.com/repos/dpla/automation/pulls/229/comments"},"review_comment":{"href":"https://api.github.com/repos/dpla/automation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dpla/automation/pulls/229/commits"},"statuses":{"href":"https://api.github.com/repos/dpla/automation/statuses/facf29b42244753b02bb00b2a91992c811c3b2d1"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":4,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"markbreedlove"}}