Koha/debian/templates
Tomas Cohen Arazi 2855107383 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@abunchofthings.net>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2017-05-10 16:26:35 +00:00
..
apache-shared-disable.conf
apache-shared-intranet-plack.conf
apache-shared-intranet.conf
apache-shared-opac-plack.conf
apache-shared-opac.conf
apache-shared.conf
apache-site-https.conf.in
apache-site.conf.in
koha-common.conf
koha-conf-site.xml.in Bug 18571: Add default ES configuration to koha-conf-site.xml.in 2017-05-10 16:26:35 +00:00
koha-sites.conf
log4perl-site.conf.in
marc21-retrieval-info-auth-dom.xml
marc21-retrieval-info-auth-grs1.xml
marc21-retrieval-info-bib-dom.xml Bug 17871: (followup) Remove zebra::* from the packages templates 2017-02-07 17:50:42 +00:00
marc21-retrieval-info-bib-grs1.xml
normarc-retrieval-info-auth-dom.xml
normarc-retrieval-info-auth-grs1.xml
normarc-retrieval-info-bib-dom.xml Bug 17871: (followup) Remove zebra::* from the packages templates 2017-02-07 17:50:42 +00:00
normarc-retrieval-info-bib-grs1.xml
plack.psgi Bug 16733: [Follow-up] Add $home to api path too 2017-01-20 14:15:27 +00:00
SIPconfig.xml
unimarc-retrieval-info-auth-dom.xml
unimarc-retrieval-info-auth-grs1.xml
unimarc-retrieval-info-bib-dom.xml Bug 17871: (followup) Remove zebra::* from the packages templates 2017-02-07 17:50:42 +00:00
unimarc-retrieval-info-bib-grs1.xml
zebra-authorities-dom-site.cfg.in
zebra-authorities-site.cfg.in
zebra-biblios-dom-site.cfg.in
zebra-biblios-site.cfg.in
zebra.passwd.in