)]}'
{"elements/elasticsearch/README.md":[{"author":{"_account_id":8907,"name":"Dmitry Shulyak","email":"dshulyak@mirantis.com","username":"dshulyak"},"change_message_id":"757d95e15ed50e9ca6cb890c1eccefd9149aef1f","unresolved":false,"context_lines":[{"line_number":11,"context_line":"yum repos:"},{"line_number":12,"context_line":"    http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-repositories.html"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Additional apt repos can be provided using disk-image-builder element"},{"line_number":15,"context_line":"\u0027apt-sources\u0027. In short:"},{"line_number":16,"context_line":"    export DIB_APT_SOURCES\u003d/path/to/your/sources.list"},{"line_number":17,"context_line":""}],"source_content_type":"text/x-gfm","patch_set":3,"id":"AAAAW3%2F%2FPuE%3D","line":14,"updated":"2014-04-15 19:58:33.000000000","message":"why are you adding this lines with every patch?","commit_id":"92d82bb0b6cc700faf55ddce5e3c4894522c357a"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"3dda0986913949f8fa0b1e39cc36eac3f81f0ff2","unresolved":false,"context_lines":[{"line_number":11,"context_line":"yum repos:"},{"line_number":12,"context_line":"    http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-repositories.html"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Additional apt repos can be provided using disk-image-builder element"},{"line_number":15,"context_line":"\u0027apt-sources\u0027. In short:"},{"line_number":16,"context_line":"    export DIB_APT_SOURCES\u003d/path/to/your/sources.list"},{"line_number":17,"context_line":""}],"source_content_type":"text/x-gfm","patch_set":3,"id":"AAAAXH%2F%2F3x4%3D","line":14,"in_reply_to":"AAAAW3%2F%2FPuE%3D","updated":"2014-04-16 19:32:43.000000000","message":"I agree - this and the following blurbs on APT_SOURCES and APT_KEYS seem unnecessary.","commit_id":"92d82bb0b6cc700faf55ddce5e3c4894522c357a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"cf4c01a9dc7c9319c5958ab07bf65f0f89e1cdde","unresolved":false,"context_lines":[{"line_number":11,"context_line":"yum repos:"},{"line_number":12,"context_line":"    http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-repositories.html"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Additional apt repos can be provided using disk-image-builder element"},{"line_number":15,"context_line":"\u0027apt-sources\u0027. In short:"},{"line_number":16,"context_line":"    export DIB_APT_SOURCES\u003d/path/to/your/sources.list"},{"line_number":17,"context_line":""}],"source_content_type":"text/x-gfm","patch_set":3,"id":"AAAAXH%2F%2FxZc%3D","line":14,"in_reply_to":"AAAAXH%2F%2F3x4%3D","updated":"2014-05-07 13:47:47.000000000","message":"Just trying to be helpful :)\n\nRemoved.","commit_id":"92d82bb0b6cc700faf55ddce5e3c4894522c357a"},{"author":{"_account_id":7144,"name":"James Slagle","email":"jslagle@redhat.com","username":"slagle"},"change_message_id":"21f463fa7b991a224c4a5b658b0d3e67b505f3e3","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":"The elasticsearch package must be available from your distribution"},{"line_number":11,"context_line":"repositories. Please see this page for apt and yum repos:"},{"line_number":12,"context_line":"    http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-repositories.html"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Verification"},{"line_number":15,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-gfm","patch_set":5,"id":"9ad9bd40_1955a4fa","line":12,"updated":"2014-05-06 12:59:12.000000000","message":"I would think this element would just configure the repositories. Otherwise, there\u0027s no way to install elasticsearch. At least that\u0027s the case on Fedora. Is it available from upstream Ubuntu distribution repos or do you have to use the repos from elasticsearch.org?","commit_id":"9b009c6998f4c5428c760a6c161665a0d333870d"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"9cf9ce4f37b2b9fde50759eb9cc19a63ef0effef","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":"The elasticsearch package must be available from your distribution"},{"line_number":11,"context_line":"repositories. Please see this page for apt and yum repos:"},{"line_number":12,"context_line":"    http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-repositories.html"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Verification"},{"line_number":15,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-gfm","patch_set":5,"id":"7adec928_4487e261","line":12,"in_reply_to":"9ad9bd40_1955a4fa","updated":"2014-05-07 13:48:26.000000000","message":"The packages aren\u0027t in any upstream repos, AFAIK.\n\nThe right solution is for the deployer to create their own apt mirror and add the packages to that, then use the apt-sources + dpkg elements to configure the images to use that mirror. I had some instructions in here on how to do that, but removed them by reviewer request.\n\nYou don\u0027t have to run a mirror but it\u0027s kind. It means you don\u0027t need Internet to build these elements, saves third-party bandwidth and reduces build time. \n\nIf I baked the URL in here I\u0027d also need to sniff the package system and try to do the right thing by myself, whereas by assuming it\u0027s available I can lean on map-packages etc.","commit_id":"9b009c6998f4c5428c760a6c161665a0d333870d"},{"author":{"_account_id":6928,"name":"Ben Nemec","email":"openstack@nemebean.com","username":"bnemec"},"change_message_id":"1b59564a321d8c5be054a60ab3bddca18f82811e","unresolved":false,"context_lines":[{"line_number":9,"context_line":""},{"line_number":10,"context_line":"The elasticsearch package must be available from your distribution"},{"line_number":11,"context_line":"repositories. Please see this page for apt and yum repos:"},{"line_number":12,"context_line":"    http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-repositories.html"},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Verification"},{"line_number":15,"context_line":"\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d\u003d"}],"source_content_type":"text/x-gfm","patch_set":9,"id":"9ab29df4_3d0af7d2","line":12,"updated":"2014-08-13 19:32:34.000000000","message":"Shouldn\u0027t this element be doing that?  I don\u0027t see elasticsearch in either the Ubuntu or Fedora main distro repos, so this element is basically useless unless the user writes their own element to set up the repo ahead of time.","commit_id":"485a34f3d18dcad71d1d1a086cc24de446b71e88"}],"elements/elasticsearch/element-deps":[{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"3dda0986913949f8fa0b1e39cc36eac3f81f0ff2","unresolved":false,"context_lines":[{"line_number":1,"context_line":"os-refresh-config"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"AAAAXH%2F%2F3xU%3D","line":1,"updated":"2014-04-16 19:32:43.000000000","message":"This should depend on a jre","commit_id":"92d82bb0b6cc700faf55ddce5e3c4894522c357a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"cf4c01a9dc7c9319c5958ab07bf65f0f89e1cdde","unresolved":false,"context_lines":[{"line_number":1,"context_line":"os-refresh-config"}],"source_content_type":"application/octet-stream","patch_set":3,"id":"AAAAXH%2F%2FxZ0%3D","line":1,"in_reply_to":"AAAAXH%2F%2F3xU%3D","updated":"2014-05-07 13:47:47.000000000","message":"DOH! Thanks!","commit_id":"92d82bb0b6cc700faf55ddce5e3c4894522c357a"}],"elements/elasticsearch/install.d/70-elasticsearch":[{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"3dda0986913949f8fa0b1e39cc36eac3f81f0ff2","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"set -e"},{"line_number":4,"context_line":"set -o xtrace"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"install-packages elasticsearch"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"AAAAXH%2F%2F3vo%3D","line":3,"updated":"2014-04-16 19:32:43.000000000","message":"set -eu","commit_id":"92d82bb0b6cc700faf55ddce5e3c4894522c357a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"cf4c01a9dc7c9319c5958ab07bf65f0f89e1cdde","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"set -e"},{"line_number":4,"context_line":"set -o xtrace"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"install-packages elasticsearch"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"AAAAXH%2F%2FxZ8%3D","line":3,"in_reply_to":"AAAAXH%2F%2F3sw%3D","updated":"2014-05-07 13:47:47.000000000","message":"Done","commit_id":"92d82bb0b6cc700faf55ddce5e3c4894522c357a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"cf4c01a9dc7c9319c5958ab07bf65f0f89e1cdde","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"set -e"},{"line_number":4,"context_line":"set -o xtrace"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"install-packages elasticsearch"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"AAAAXH%2F%2FxaA%3D","line":3,"in_reply_to":"AAAAXH%2F%2F3vo%3D","updated":"2014-05-07 13:47:47.000000000","message":"Done","commit_id":"92d82bb0b6cc700faf55ddce5e3c4894522c357a"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"9f76685e8aa16847b96d4b50db1690d441934ff6","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":""},{"line_number":3,"context_line":"set -e"},{"line_number":4,"context_line":"set -o xtrace"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"install-packages elasticsearch"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"AAAAXH%2F%2F3sw%3D","line":3,"in_reply_to":"AAAAXH%2F%2F3vo%3D","updated":"2014-04-16 19:38:53.000000000","message":"also -o pipefail","commit_id":"92d82bb0b6cc700faf55ddce5e3c4894522c357a"},{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"3dda0986913949f8fa0b1e39cc36eac3f81f0ff2","unresolved":false,"context_lines":[{"line_number":3,"context_line":"set -e"},{"line_number":4,"context_line":"set -o xtrace"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"install-packages elasticsearch"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"AAAAXH%2F%2F3u0%3D","line":6,"updated":"2014-04-16 19:32:43.000000000","message":"AFAICT this package is not available on fedora. This may require package install on ubuntu and install from binary on other distros.","commit_id":"92d82bb0b6cc700faf55ddce5e3c4894522c357a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"cf4c01a9dc7c9319c5958ab07bf65f0f89e1cdde","unresolved":false,"context_lines":[{"line_number":3,"context_line":"set -e"},{"line_number":4,"context_line":"set -o xtrace"},{"line_number":5,"context_line":""},{"line_number":6,"context_line":"install-packages elasticsearch"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"AAAAXH%2F%2FxaY%3D","line":6,"in_reply_to":"AAAAXH%2F%2F3u0%3D","updated":"2014-05-07 13:47:47.000000000","message":"I don\u0027t want to hardcode some random URL into the element to fetch either packages or binaries, the right solution is to leverage the package management system. The idea is that you use other elements, EG the dpkg + add-apt-sources elements, to ensure the packages are available before this script runs.\n\n(note I made this comment a month ago but forgot to commit it)","commit_id":"92d82bb0b6cc700faf55ddce5e3c4894522c357a"}],"elements/elasticsearch/os-refresh-config/post-configure.d/70-elasticsearch":[{"author":{"_account_id":10035,"name":"greghaynes","email":"greg@greghaynes.net","username":"greghaynes"},"change_message_id":"3dda0986913949f8fa0b1e39cc36eac3f81f0ff2","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"set -eux"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"os-svc-restart -n elasticsearch"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"AAAAXH%2F%2F3vg%3D","line":2,"updated":"2014-04-16 19:32:43.000000000","message":"set -o pipefail","commit_id":"92d82bb0b6cc700faf55ddce5e3c4894522c357a"},{"author":{"_account_id":8688,"name":"Alexis Lee","email":"openstack@lxsli.co.uk","username":"lxsli"},"change_message_id":"cf4c01a9dc7c9319c5958ab07bf65f0f89e1cdde","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"set -eux"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"os-svc-restart -n elasticsearch"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"AAAAXH%2F%2FxaE%3D","line":2,"in_reply_to":"AAAAXH%2F%2F3vg%3D","updated":"2014-05-07 13:47:47.000000000","message":"Done","commit_id":"92d82bb0b6cc700faf55ddce5e3c4894522c357a"}]}
