Skip to content

Commit 5275ba6

Browse files
Jan Lieskovskypskopek
authored andcommitted
[CIAM-1522] Execute delayedPostConfigure module as part of openshift-launch.sh
script (if a delayedpostconfigure.sh file exists call it, otherwise fallback on postconfigure.sh) Signed-off-by: Jan Lieskovsky <[email protected]>
1 parent 9735ed4 commit 5275ba6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modules/sso/config/launch/setup/75/added/openshift-launch.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ function runServer() {
2727
export NODE_NAME="${NODE_NAME:-node}-${count}"
2828

2929
source $JBOSS_HOME/bin/launch/configure-modules.sh
30+
# CIAM-1522 correction
31+
# if a delayedpostconfigure.sh file exists call it, otherwise fallback on postconfigure.sh
32+
executeModules delayedPostConfigure
33+
# EOF CIAM-1522 correction
3034

3135
log_info "Running $JBOSS_IMAGE_NAME image, version $JBOSS_IMAGE_VERSION"
3236

@@ -62,6 +66,10 @@ if [ "${SPLIT_DATA^^}" = "TRUE" ]; then
6266
partitionPV "${DATA_DIR}" "${SPLIT_LOCK_TIMEOUT:-30}"
6367
else
6468
source $JBOSS_HOME/bin/launch/configure-modules.sh
69+
# CIAM-1522 correction
70+
# if a delayedpostconfigure.sh file exists call it, otherwise fallback on postconfigure.sh
71+
executeModules delayedPostConfigure
72+
# EOF CIAM-1522 correction
6573

6674
log_info "Running $JBOSS_IMAGE_NAME image, version $JBOSS_IMAGE_VERSION"
6775

0 commit comments

Comments
 (0)