From c99a710e52029e51cc0823278c891a76a6176843 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Mon, 25 Sep 2017 15:20:15 +0200 Subject: [PATCH] geonetwork: support the H2 DB. To be used in the dev instances. --- geonetwork/geonetwork/defaults/main.yml | 5 +++-- geonetwork/geonetwork/templates/srv.xml.j2 | 15 +-------------- 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/geonetwork/geonetwork/defaults/main.yml b/geonetwork/geonetwork/defaults/main.yml index 74d3f7de..0e2a4556 100644 --- a/geonetwork/geonetwork/defaults/main.yml +++ b/geonetwork/geonetwork/defaults/main.yml @@ -16,8 +16,9 @@ geonetwork_data_directory: /srv/geonetwork_data geonetwork_config_skipinfo: 'n' geonetwork_config_postgresql: True -# No other database are supported -geonetwork_db_type: postgres-postgis +# Only postgres and the embedded DB are supported +# Values: postgres-postgis (3.2+ only), postgres (3.0 only), h2 +# geonetwork_db_type: postgres-postgis geonetwork_db_name: geonetwork_db geonetwork_db_user: geonetwork_u #geonetwork_db_pwd: use_a_vault_file diff --git a/geonetwork/geonetwork/templates/srv.xml.j2 b/geonetwork/geonetwork/templates/srv.xml.j2 index 2aa985f6..670a340e 100644 --- a/geonetwork/geonetwork/templates/srv.xml.j2 +++ b/geonetwork/geonetwork/templates/srv.xml.j2 @@ -36,18 +36,5 @@ - - - - - - - - - -{% if geonetwork_point_version >= 2 %} - -{% else %} - -{% endif %} +