Skip to content

Commit

Permalink
checking existence of SolrCloud config in ZK is changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Frizner, Dmitry committed Mar 18, 2019
1 parent ff14b83 commit 95ab1e7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion templates/start-solr-config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ data:
#!/bin/bash
#prepare ZK path and copy solr.xml, security.json
/opt/solr/server/scripts/cloud-scripts/zkcli.sh -cmd ls ${ZKPATH} -zkhost ${ZK_HOST} > /dev/null 2>&1 \
( \
/opt/solr/server/scripts/cloud-scripts/zkcli.sh -cmd ls ${ZKPATH}/solr.xml -zkhost ${ZK_HOST} > /dev/null 2>&1 \
&& \
/opt/solr/server/scripts/cloud-scripts/zkcli.sh -cmd ls ${ZKPATH}/security.json -zkhost ${ZK_HOST} > /dev/null 2>&1 \
) \
|| \
( \
# generate hash for security.json
Expand Down

0 comments on commit 95ab1e7

Please sign in to comment.