From 5deaa8c0be48197217d5c94c3adbe9c4987fa837 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Tue, 5 Feb 2019 14:05:34 +0100 Subject: community/elasticsearch: improve default config --- community/elasticsearch/APKBUILD | 4 +++- community/elasticsearch/default-config.patch | 16 ++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 community/elasticsearch/default-config.patch diff --git a/community/elasticsearch/APKBUILD b/community/elasticsearch/APKBUILD index c9031bea2dd..a96fce9989c 100644 --- a/community/elasticsearch/APKBUILD +++ b/community/elasticsearch/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Jakub Jirutka pkgname=elasticsearch pkgver=6.4.1 -pkgrel=2 +pkgrel=3 pkgdesc="Open Source, Distributed, RESTful Search Engine" url="https://www.elastic.co/products/elasticsearch" arch="x86 x86_64 ppc64le" @@ -15,6 +15,7 @@ options="!check" # no test suite pkgusers="elastico" pkggroups="elastico" source="https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-$pkgver.tar.gz + default-config.patch $pkgname.initd $pkgname.confd $pkgname.logrotated @@ -115,6 +116,7 @@ _x_pack() { } sha512sums="a023a6db5554dee6f10718dfa297aa06a735c7857542c2db80fa5c2b86ff4bf405bb8167578c5b60741ad05ed96a64b54bc71d128a0ff955468b0449588b053c elasticsearch-6.4.1.tar.gz +dffe445d62e45bcec5ccffc8e140e19ac35613c008a956481521d0b6b74a8899f5a8852c6b45c58fa1c6d8f80466491d9a7b8bdea40c2a2614ba8b46889fd1ac default-config.patch 24d17bdfad1d4e53a3568c77e14a712ab0cd17144eb95b2bdf659466dbe5cf48d1ac48285c644c0bf1dc7f309012ccb99956fcd5134e6ac85651c94bee8b5add elasticsearch.initd 2ab1baf1b5c8782f3f371ba221aadd3e841abc62175f0b1ddcfc68d711e2370465124e076f8cc2e549c25a1da9db8c90172b2f410bd6bbe4153f0e831620b6ba elasticsearch.confd 450879a8ab49c4debac3f8ed484918d48428cabf300b8196db785930a9bc56ce8a153b8d4c91655cfbe9ff50bb978b3c0f87eef99ed36213463f206b68d06590 elasticsearch.logrotated diff --git a/community/elasticsearch/default-config.patch b/community/elasticsearch/default-config.patch new file mode 100644 index 00000000000..0568a4f2266 --- /dev/null +++ b/community/elasticsearch/default-config.patch @@ -0,0 +1,16 @@ +--- a/config/elasticsearch.yml ++++ b/config/elasticsearch.yml +@@ -52,7 +52,12 @@ + # + # Set the bind address to a specific IP (IPv4 or IPv6): + # +-#network.host: 192.168.0.1 ++#network.host: _site_ ++# ++# The host address to bind the transport service to and to publish for ++# nodes in the cluster to connect to. ++# ++#transport.host: localhost + # + # Set a custom port for HTTP: + # -- cgit v1.2.3