Skip to content

Commit

Permalink
Modify the ldap healthcheck to ignore suffix creation because suffix …
Browse files Browse the repository at this point in the history
…creation fails if it already exists
  • Loading branch information
markpatton committed Nov 1, 2024
1 parent c23fc30 commit 4cd53a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eclipse-pass.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ services:
- .eclipse-pass.local_env
# Healthy when manage to create the suffix and load users
healthcheck:
test: '(dsconf -D "cn=Directory Manager" localhost backend create --suffix="$$DS_SUFFIX_NAME" --be-name="pass" && ldapadd -f /pass.ldif -H ldap://localhost:3389 -w "$$DS_DM_PASSWORD" -D "cn=Directory Manager") || exit 1'
test: '(dsconf -D "cn=Directory Manager" localhost backend create --suffix="$$DS_SUFFIX_NAME" --be-name="pass"; ldapadd -f /pass.ldif -H ldap://localhost:3389 -w "$$DS_DM_PASSWORD" -D "cn=Directory Manager") || exit 1'
start_period: 60s
interval: 5s
volumes:
Expand Down

0 comments on commit 4cd53a9

Please sign in to comment.