Sha256: c68689be5f12ef082957e80bcf23196622394951b5b305cfa50464a52d1d0373
Contents?: true
Size: 779 Bytes
Versions: 5
Compression:
Stored size: 779 Bytes
Contents
<% @path = "#{rubber_env.zookeeper_install_dir}/conf/zoo.cfg" @post = "mkdir -p #{rubber_env.zookeeper_data_dir}" %> # The number of milliseconds of each tick tickTime=2000 # The number of ticks that the initial # synchronization phase can take initLimit=10 # The number of ticks that can pass between # sending a request and getting an acknowledgement syncLimit=5 # the directory where the snapshot is stored. dataDir=<%= rubber_env.zookeeper_data_dir %> # the port at which the clients will connect clientPort=<%= rubber_env.zookeeper_client_port %> <% zookeeper_hosts = rubber_instances.for_role("zookeeper") if zookeeper_hosts.size > 1 zookeeper_hosts.each do |ic| %> server.<%= ic.name.gsub(/[^0-9]*/, '').to_i %>=<%= ic.name %>:2888:3888 <% end end %>
Version data entries
5 entries across 5 versions & 1 rubygems