[koha-commits] main Koha release repository branch master updated. v16.11.00-1091-g2855107
Git repo owner
gitmaster at git.koha-community.org
Wed May 17 16:00:22 CEST 2017
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, master has been updated
via 2855107383db654e92e219d7d2d88fa88a73d36e (commit)
from af89df12e72ea51010039a2206bb942bcc4c4b50 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2855107383db654e92e219d7d2d88fa88a73d36e
Author: Tomas Cohen Arazi <tomascohen at theke.io>
Date: Wed May 10 16:04:36 2017 -0300
Bug 18571: Add default ES configuration to koha-conf-site.xml.in
This patch adds a default configuration entry for elasticsearch. It will
add localhost:9200 to the server subsection, and koha_instance (replacing instance
for the corresponding instance name) for the namespace.
To test:
- Apply the patch
- Copy the file to the /etc/koha dir:
$ sudo cp kohaclone/debian/templates/koha-conf-site.xml.in /etc/koha
- Create a new instance:
$ sudo koha-create --create-db test
=> SUCCESS: /etc/koha/sites/test/koha-conf.xml includes the mentioned section:
<elasticsearch>
<server>localhost:9200</server>
<index_name>koha_test</index_name>
</elasticsearch>
- Sign off :-D
Note: As the use of ES is syspref driven, this default entry doesn't have any use
until ES is installed and SearchEngine set to Elasticsearch. So it doesn't hurt
but will help end users test the ES integration. Advanced users will take care of
this config entry manually (pointing to external servers/clusters, etc).
Signed-off-by: Mirko Tietgen <mirko at abunchofthings.net>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
-----------------------------------------------------------------------
Summary of changes:
debian/templates/koha-conf-site.xml.in | 5 +++++
1 file changed, 5 insertions(+)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list