{"action":"created","comment":{"url":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/comments/63165741","id":63165741,"diff_hunk":"@@ -0,0 +1,26 @@\n+---\n+\n+govuk_elasticsearch::version: '1.7.5'\n+govuk_elasticsearch::cluster_hosts: ['elasticsearch-1.backend:9300']\n+govuk_elasticsearch::minimum_master_nodes: 1\n+govuk_elasticsearch::aws_access_key: 'ABCDEFGHIJKLMNOPQRST'\n+govuk_elasticsearch::aws_secret_key: 'n4AQffsnBJ5rcQK9DBn5eYHVuDqhT5DVCYa7ZU9tt'\n+\n+lv:\n+  data:\n+    pv: '/dev/sdb1'\n+    vg: 'elasticsearch'\n+\n+mount:\n+  /mnt/elasticsearch:\n+    disk: '/dev/mapper/elasticsearch-data'\n+    govuk_lvm: 'data'\n+    mountoptions: 'defaults'\n+    #FIXME: Adjust these values when elasticsearch is upgraded to 1.4\n+    percent_threshold_warning: 31\n+    percent_threshold_critical: 16\n+\n+govuk_elasticsearch::snapshot::indices:\n+   '.kibana':\n+     s3_bucket: 'jonauman-test2'","path":"hieradata/class/vagrant/elasticsearch.yaml","position":25,"original_position":25,"commit_id":"43878940ef9cf0d690fa323978e655c1359c089e","original_commit_id":"43878940ef9cf0d690fa323978e655c1359c089e","user":{"login":"jonauman","id":3295289,"avatar_url":"https://avatars.githubusercontent.com/u/3295289?v=3","gravatar_id":"","url":"https://api.github.com/users/jonauman","html_url":"https://github.com/jonauman","followers_url":"https://api.github.com/users/jonauman/followers","following_url":"https://api.github.com/users/jonauman/following{/other_user}","gists_url":"https://api.github.com/users/jonauman/gists{/gist_id}","starred_url":"https://api.github.com/users/jonauman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonauman/subscriptions","organizations_url":"https://api.github.com/users/jonauman/orgs","repos_url":"https://api.github.com/users/jonauman/repos","events_url":"https://api.github.com/users/jonauman/events{/privacy}","received_events_url":"https://api.github.com/users/jonauman/received_events","type":"User","site_admin":false},"body":"Oops. Yes, that shouldn't be there. Also note that kibana 3 uses 'kibana-int' for the index whereas kibana4 uses '.kibana'. Do we want to assume 3 or 4 for vagrant purposes?","created_at":"2016-05-13T10:56:29Z","updated_at":"2016-05-13T10:56:29Z","html_url":"https://github.com/alphagov/govuk-puppet/pull/4402#discussion_r63165741","pull_request_url":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/4402","_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/comments/63165741"},"html":{"href":"https://github.com/alphagov/govuk-puppet/pull/4402#discussion_r63165741"},"pull_request":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/4402"}}},"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/4402","id":69695079,"html_url":"https://github.com/alphagov/govuk-puppet/pull/4402","diff_url":"https://github.com/alphagov/govuk-puppet/pull/4402.diff","patch_url":"https://github.com/alphagov/govuk-puppet/pull/4402.patch","issue_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/4402","number":4402,"state":"open","locked":false,"title":"adds ES index snapshots to S3","user":{"login":"jonauman","id":3295289,"avatar_url":"https://avatars.githubusercontent.com/u/3295289?v=3","gravatar_id":"","url":"https://api.github.com/users/jonauman","html_url":"https://github.com/jonauman","followers_url":"https://api.github.com/users/jonauman/followers","following_url":"https://api.github.com/users/jonauman/following{/other_user}","gists_url":"https://api.github.com/users/jonauman/gists{/gist_id}","starred_url":"https://api.github.com/users/jonauman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonauman/subscriptions","organizations_url":"https://api.github.com/users/jonauman/orgs","repos_url":"https://api.github.com/users/jonauman/repos","events_url":"https://api.github.com/users/jonauman/events{/privacy}","received_events_url":"https://api.github.com/users/jonauman/received_events","type":"User","site_admin":false},"body":"This commit adds the ES plugin to AWS which allows us to snapshot\r\nindividual indices to an S3 bucket. S3 credentials can be passed\r\na variety of ways, but adding them to elasticsearch.yml provides\r\nthe simplest solution. Passing the creds as environment variables\r\nrequires changes to ES user and the ES init.d script and overrides\r\nto the vendor module, and only works if these requirements are met.","created_at":"2016-05-11T15:44:08Z","updated_at":"2016-05-13T10:56:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9e9ed2c769fd14f57fba5dc1c5ee315efc88a700","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/4402/commits","review_comments_url":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/4402/comments","review_comment_url":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/4402/comments","statuses_url":"https://api.github.com/repos/alphagov/govuk-puppet/statuses/43878940ef9cf0d690fa323978e655c1359c089e","head":{"label":"alphagov:elasticsearch-s3-backup","ref":"elasticsearch-s3-backup","sha":"43878940ef9cf0d690fa323978e655c1359c089e","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":47834743,"name":"govuk-puppet","full_name":"alphagov/govuk-puppet","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk-puppet","description":"Puppet manifests used to provision the main GOV.UK web stack","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-puppet","forks_url":"https://api.github.com/repos/alphagov/govuk-puppet/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-puppet/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-puppet/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-puppet/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-puppet/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-puppet/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-puppet/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-puppet/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-puppet/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-puppet/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-puppet/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-puppet/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-puppet/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-puppet/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-puppet/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-puppet/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-puppet/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk-puppet/deployments","created_at":"2015-12-11T15:36:24Z","updated_at":"2016-05-09T07:32:46Z","pushed_at":"2016-05-13T10:52:40Z","git_url":"git://github.com/alphagov/govuk-puppet.git","ssh_url":"git@github.com:alphagov/govuk-puppet.git","clone_url":"https://github.com/alphagov/govuk-puppet.git","svn_url":"https://github.com/alphagov/govuk-puppet","homepage":"https://www.gov.uk/","size":22406,"stargazers_count":30,"watchers_count":30,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":17,"forks":17,"open_issues":17,"watchers":30,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"85ee6630def866209d34107fe8109d576b743180","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":47834743,"name":"govuk-puppet","full_name":"alphagov/govuk-puppet","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk-puppet","description":"Puppet manifests used to provision the main GOV.UK web stack","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-puppet","forks_url":"https://api.github.com/repos/alphagov/govuk-puppet/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-puppet/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-puppet/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-puppet/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-puppet/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-puppet/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-puppet/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-puppet/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-puppet/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-puppet/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-puppet/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-puppet/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-puppet/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-puppet/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-puppet/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-puppet/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-puppet/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-puppet/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-puppet/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-puppet/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-puppet/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-puppet/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-puppet/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-puppet/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-puppet/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-puppet/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-puppet/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-puppet/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-puppet/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk-puppet/deployments","created_at":"2015-12-11T15:36:24Z","updated_at":"2016-05-09T07:32:46Z","pushed_at":"2016-05-13T10:52:40Z","git_url":"git://github.com/alphagov/govuk-puppet.git","ssh_url":"git@github.com:alphagov/govuk-puppet.git","clone_url":"https://github.com/alphagov/govuk-puppet.git","svn_url":"https://github.com/alphagov/govuk-puppet","homepage":"https://www.gov.uk/","size":22406,"stargazers_count":30,"watchers_count":30,"language":"Puppet","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":17,"forks":17,"open_issues":17,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/4402"},"html":{"href":"https://github.com/alphagov/govuk-puppet/pull/4402"},"issue":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/issues/4402"},"comments":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/issues/4402/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/4402/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/pulls/4402/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/govuk-puppet/statuses/43878940ef9cf0d690fa323978e655c1359c089e"}}}}