
This change updates the dhall code to the latest version. * Support for record pun where `{ x = x }` can now be written as `{ x }` * Indentation and function definitions are more compact This change has been generated after installing dhall v1.33 using this command: find . -name "*.dhall" -exec dhall --ascii format --inplace {} \; Change-Id: I3b6560f26e28622aa51150dc8083d127d89a8a7b
24 lines
596 B
Plaintext
24 lines
596 B
Plaintext
{- This function converts a client-dir and server-dir Text to a zoo.cfg file content
|
|
-}
|
|
\(client-dir : Text) ->
|
|
\(server-dir : Text) ->
|
|
''
|
|
dataDir=/data
|
|
dataLogDir=/datalog
|
|
tickTime=2000
|
|
initLimit=5
|
|
syncLimit=2
|
|
autopurge.snapRetainCount=3
|
|
autopurge.purgeInterval=0
|
|
maxClientCnxns=60
|
|
standaloneEnabled=true
|
|
admin.enableServer=true
|
|
server.1=0.0.0.0:2888:3888
|
|
|
|
# TLS configuration
|
|
secureClientPort=2281
|
|
serverCnxnFactory=org.apache.zookeeper.server.NettyServerCnxnFactory
|
|
ssl.keyStore.location=${server-dir}/zk.pem
|
|
ssl.trustStore.location=${client-dir}/ca.pem
|
|
''
|