# HG changeset patch
# User Arthur Lutz <arthur.lutz@logilab.fr>
# Date 1463580363 -7200
#      Wed May 18 16:06:03 2016 +0200
# Node ID 680de326f545d419bf86d0431bf40873d8c0f3c4
# Parent  0eaa31e10dc0d33bed968325a25e8364f26f397b
[site_cubicweb] add options to contact elasticsearch to config

diff --git a/site_cubicweb.py b/site_cubicweb.py
new file mode 100644
--- /dev/null
+++ b/site_cubicweb.py
@@ -0,0 +1,18 @@
+options = (
+    ('elasticsearch-locations',
+     {'type': 'string',
+      'default': '',
+      'help': 'Elastic Search location (eg. 192.168.0.23:9200), '
+              'this can be a list of locations (192.168.0.23:9200,192.168.0.24:9200,'
+              ' you can also include the scheme (eg. http://192.168.0.23:9200) ',
+      'group': 'elasticsearch',
+      'level': 5,
+      }),
+    ('index-name',
+     {'type': 'string',
+      'default': 'cubicweb',
+      'help': 'Elastic Search index name (eg. cubicweb)',
+      'group': 'elasticsearch',
+      'level': 5,
+      }),
+)