library/roles/geonetwork/geonetwork/templates/srv.xml.j2: Use different default for geonetwork 3.0 and geonetwork 3.2+

This commit is contained in:
Andrea Dell'Amico 2017-09-27 09:19:13 +02:00
parent 89ff935cd7
commit dd477e55bd
1 changed files with 4 additions and 1 deletions

View File

@ -35,6 +35,9 @@
<property name="id" value="srv"/> <property name="id" value="srv"/>
<property name="defaultNode" value="true"/> <property name="defaultNode" value="true"/>
</bean> </bean>
{% if geonetwork_point_version < 2 %}
<import resource="../config-db/{{ geonetwork_db_type | default('postgres') }}.xml"/>
{% else %}
<import resource="../config-db/{{ geonetwork_db_type | default('postgres-postgis') }}.xml"/> <import resource="../config-db/{{ geonetwork_db_type | default('postgres-postgis') }}.xml"/>
{% endif %}
</beans> </beans>