3
set -eux # -x for verbose logging to juju debug-log
7
if [[ ${ZENMASTERS} != "false" ]]; then
8
juju-log "Updating- discovery.zen.ping.unicast.hosts: \"${ZENMASTERS}\""
9
echo "discovery.zen.ping.unicast.hosts: \"${ZENMASTERS}\"" >> /opt/elasticsearch/config/elasticsearch.yml
10
/opt/elasticsearch/bin/service/elasticsearch condrestart