From 227439c357031642c7a06bfc3f2357eae8d564de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Sachse?= <joerg.sachse@slub-dresden.de>
Date: Tue, 2 Apr 2024 15:36:22 +0200
Subject: [PATCH] fix: use correct variable name for ora_sid

---
 .../dps/d4_1/system.dir/conf/global.properties_http         | 6 +++---
 .../dps/d4_1/system.dir/conf/global.properties_https        | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/templates/exlibris/dps/d4_1/system.dir/conf/global.properties_http b/templates/exlibris/dps/d4_1/system.dir/conf/global.properties_http
index 6a4416c..5ae73b8 100644
--- a/templates/exlibris/dps/d4_1/system.dir/conf/global.properties_http
+++ b/templates/exlibris/dps/d4_1/system.dir/conf/global.properties_http
@@ -1,7 +1,7 @@
 #{{ template_run_date }}
 ajp.port=7701
 app.role=DEP,REP,DEL,PER,IDX
-app.version=6.3.0.0
+app.version={{ ansible_local.rosetta_app_version.version }}
 dbconnection.dep.username=V2SL_dep00
 dbconnection.jbpm.username=V2SL_jbpm00
 dbconnection.per.username=V2SL_per00
@@ -11,7 +11,7 @@ dbconnection.rep.username=V2SL_rep00
 dbconnection.ros.username=V2SL_ros00
 dbconnection.rpt.username=V2SL_rpt00
 dbconnection.shr.username=V2SL_shr00
-dbconnection.url=jdbc\:oracle\:thin\:@{{ dbconnection_url }}\:1521\:{{ ora.sid }}
+dbconnection.url=jdbc\:oracle\:thin\:@{{ dbconnection_url }}\:1521\:{{ ora_sid }}
 debug.port=5001
 del.server={{ ansible_hostname }}
 dep.server={{ ansible_hostname }}
@@ -57,7 +57,7 @@ native.ssl.keystore.password={{ native_ssl_keystore_password }}
 native.ssl.keystore.path=/exlibris/dps/.keystore
 native.ssl=false
 ora.host={{ dbconnection_url }}
-ora.sid={{ ora.sid }}
+ora.sid={{ ora_sid }}
 pds.port={{ pds_port }}
 pds.server={{ tls_hostname }}.slub-dresden.de
 per.server={{ ansible_fqdn }}
diff --git a/templates/exlibris/dps/d4_1/system.dir/conf/global.properties_https b/templates/exlibris/dps/d4_1/system.dir/conf/global.properties_https
index 73efefa..65e92cc 100644
--- a/templates/exlibris/dps/d4_1/system.dir/conf/global.properties_https
+++ b/templates/exlibris/dps/d4_1/system.dir/conf/global.properties_https
@@ -1,7 +1,7 @@
 #{{ template_run_date }}
 ajp.port=7701
 app.role=DEP,REP,DEL,PER,IDX
-app.version=6.3.0.0
+app.version={{ ansible_local.rosetta_app_version.version }}
 dbconnection.dep.username=V2SL_dep00
 dbconnection.jbpm.username=V2SL_jbpm00
 dbconnection.per.username=V2SL_per00
@@ -11,7 +11,7 @@ dbconnection.rep.username=V2SL_rep00
 dbconnection.ros.username=V2SL_ros00
 dbconnection.rpt.username=V2SL_rpt00
 dbconnection.shr.username=V2SL_shr00
-dbconnection.url=jdbc\:oracle\:thin\:@{{ dbconnection_url }}\:1521\:{{ ora.sid }}
+dbconnection.url=jdbc\:oracle\:thin\:@{{ dbconnection_url }}\:1521\:{{ ora_sid }}
 debug.port=5001
 del.server={{ ansible_hostname }}
 dep.server={{ ansible_hostname }}
@@ -57,7 +57,7 @@ native.ssl.keystore.password={{ native_ssl_keystore_password }}
 native.ssl.keystore.path=/exlibris/dps/.keystore
 native.ssl=true
 ora.host={{ dbconnection_url }}
-ora.sid={{ ora.sid }}
+ora.sid={{ ora_sid }}
 pds.port={{ pds_port }}
 pds.server={{ tls_hostname }}.slub-dresden.de
 per.server={{ ansible_fqdn }}
-- 
GitLab