Skip to content

Commit

Permalink
Add configuration support for enabling an addressTranslator in cassan…
Browse files Browse the repository at this point in the history
…dra persistence options
  • Loading branch information
paddybyers authored and adejanovski committed Nov 13, 2018
1 parent c916bee commit c53ab83
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/server/src/main/docker/configure-persistence.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ cat <<EOT >> /etc/cassandra-reaper.yml
type: jdk
EOT
fi

if [ "true" = "${REAPER_CASS_ADDRESS_TRANSLATOR_ENABLED}" ]; then
cat <<EOT >> /etc/cassandra-reaper.yml
addressTranslator:
type: ${REAPER_CASS_ADDRESS_TRANSLATOR_TYPE}
EOT
fi
# END cassandra persistence options

;;
Expand Down

0 comments on commit c53ab83

Please sign in to comment.