forked from ISTI-ansible-roles/ansible-roles
geonetwork: support the H2 DB. To be used in the dev instances.
This commit is contained in:
parent
b454937b03
commit
c99a710e52
|
@ -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
|
||||
|
|
|
@ -36,18 +36,5 @@
|
|||
<property name="defaultNode" value="true"/>
|
||||
</bean>
|
||||
|
||||
<!-- Uncomment the database configuration you need to use -->
|
||||
<!--<import resource="../config-db/h2.xml"/>-->
|
||||
<!--<import resource="../config-db/jndi-postgres-postgis.xml"/> -->
|
||||
<!--<import resource="../config-db/oracle.xml"/>-->
|
||||
<!--<import resource="../config-db/mysql.xml"/> -->
|
||||
<!--<import resource="../config-db/db2.xml"/> -->
|
||||
<!--<import resource="../config-db/postgres.xml"/>-->
|
||||
<!--<import resource="../config-db/sqlserver.xml"/> -->
|
||||
<!--<import resource="../config-db/postgres-postgis.xml"/> -->
|
||||
{% if geonetwork_point_version >= 2 %}
|
||||
<import resource="../config-db/{{ geonetwork_db_type }}.xml"/>
|
||||
{% else %}
|
||||
<import resource="../config-db/postgres.xml"/>
|
||||
{% endif %}
|
||||
<import resource="../config-db/{{ geonetwork_db_type | default(' postgres-postgis') }}.xml"/>
|
||||
</beans>
|
||||
|
|
Loading…
Reference in New Issue